Open
Description
from solid import *
view_port_magic = """
$vpt = [4, 3, 15];
$vpr = [60, 0, 360 * $t];
$vpd = 100;
"""
c = cube(scad_inline("$t*10"))
scad_render_to_file(c, file_header=view_port_magic)yeah!
Works with expsolid should work with master too.
(you need scad_inline from #178)
Metadata
Metadata
Assignees
Labels
No labels
Activity
etjones commentedon Jun 1, 2021
Oh shit, this could make animation so much better than the hack I have in place now! Dude, you're improving all of this way faster than I can keep up. Nice work.
jeff-dh commentedon Jun 1, 2021
physics:
No clue what this could be good for, but....... I guess it might be possible to plug a -- more complex :-p -- physics engine into it and render animated movies....
All of this is implemented and working with exp_solid and these snippets are in the examples, check it out...
(but this should also work with master with little effort -> scad_inline from #178)
PS: anybody an idea where to get the vitamins for a 4d printer? 😛
added ScadInterface (SolidCode#181, SolidCode#180, SolidCode#178, Sol…