How can I generate dependency graphs for my variables ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How can I generate dependency graphs for my variables ?

crevettedragon
Hello,

I am using openscad for a small  project  and the number of variable is
getting pretty big and my code messier. Some part of my code have "hard
coded" variables and other parts are much more parametric -clean - ie depend
on other variables.
I wish to make the whole code clean and I thought a parser making a
dependency graph for all the variables in my code would allow me to visually
and easily track what is to be changed and remove all parameters that could
be calculated instead of hard-coded.

Altough I could go over each variable one by one I thought it would be
cooler to learn how to automatically generate a graph.

What are you using to achieve that ?

Thank you,




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: How can I generate dependency graphs for my variables ?

MichaelAtOz
Administrator
crevettedragon wrote

> Hello,
>
> I am using openscad for a small  project  and the number of variable is
> getting pretty big and my code messier. Some part of my code have "hard
> coded" variables and other parts are much more parametric -clean - ie
> depend
> on other variables.
> I wish to make the whole code clean and I thought a parser making a
> dependency graph for all the variables in my code would allow me to
> visually
> and easily track what is to be changed and remove all parameters that
> could
> be calculated instead of hard-coded.
>
> Altough I could go over each variable one by one I thought it would be
> cooler to learn how to automatically generate a graph.
>
> What are you using to achieve that ?
>
> Thank you,
>
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list

> Discuss@.openscad

> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

There is nothing built in obviously, I don't use an IDE, perhaps there is
support in some?



-----
Admin - email* me if you need anything, or if I've done something stupid...

* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!