I'm trying to draw a plan overview and on this I would like to have some colors representation of motors/chains ect. I think I can add a single drawing for the whole plant and then use that linked to taghs to make things change, or is it better practive to have a drawing per machine part or per part?
e.g. If I have 4 different machines with each of them having a motor, some sensors and a chain. I want the motors/sensors/chain changing as needed.
Would I have one drawing with all 4, a drawing for each machine or have each component I want to change as an drawing object?
Just looking for some best practice guidance or advice/pro/con's
You can build and design the overview scene for your plant using any method you find suitable... whether that's with SVG drawings or even utilizing an OpenGL library. I've attached an example of a plant overview that might be similar to what you have in mind. Best of luck!
I'm developing a perspective module based on it, but I'm still working on the prototype before migrating to an SDK environment. It's built with the Three.js library—basically HTML, CSS, and JS/TS—but it was built from the ground up with a perspective environment in mind.
Thanks. that looks really cool, but a lot more than what I need for this learning. What is more acceptable? a bunch of drawing objects or a single drawing object with lots of drawings?
In the end I am going to have some things appear on it based on the belt locations ect
If using an .svg to represent a machine then you want a single .svg template representing a single machine, inserted in the view in 4 different places (assuming you have four nearly identical machines).
The end goal is a single change to the .svg will automatically propagate to all four machines.
I have found Claude AI very helpful in creating .svgs that work well in Ignition. The trick is to feed it a working .svg as an example, along with some sort of visual representation of the machine (CAD file). Then keep prompting Claude with feedback until it produces something you are happy with.