5th November 2016

Worked on making the OpenSCAD’s customizer parser stop at first ‘{‘

https://github.com/openscad/openscad/issues/1841

https://github.com/openscad/openscad/commit/87aa36ab29e1cc875c02b4bca6a967cfd9aa7923

Is getting first { character only thing after which thingiverse customizer stop parsing lines. If thats the case then we can also do the same i.e. search for { in SCAD file and then find the line number at which it first occurred and then we can add a check if the line number stored in assignment node is greater than that we found for first { .Stop parsing there only.
It would save processing need to find first non assignment node.

 

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s