You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import solid
glob = "**/*"
x = solid.cube()
solid.scad_render_to_file(x, "test.scad")
y = solid.include("test.scad")
Result:
py_scadparser: Illegal character: test.scad(11) """
py_scadparser: Syntax error: test.scad(14) ID - solid
py_scadparser: Syntax error: test.scad(15) INCLUDE - include
py_scadparser: Syntax error: test.scad(18) / - /
This happens because the default is to save the solidpython code to the output, but in this case the code contains a glob, which looks like a comment terminator, which messes up the parser in solidpython. I haven't tested openscad on these files. Generally the way you fix this is with heredoc, but I think this would require support from openscad side.
The text was updated successfully, but these errors were encountered:
Example:
Result:
This happens because the default is to save the solidpython code to the output, but in this case the code contains a glob, which looks like a comment terminator, which messes up the parser in solidpython. I haven't tested openscad on these files. Generally the way you fix this is with heredoc, but I think this would require support from openscad side.
The text was updated successfully, but these errors were encountered: