Variables | |
bool | gui = True |
params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/OpenSCAD") | |
bool | printverbose = False |
Function Documentation
◆ addString()
def importCSG.addString | ( | t, | |
s, | |||
p | |||
) |
Referenced by p_text_action().
◆ addValue()
def importCSG.addValue | ( | t, | |
v, | |||
p | |||
) |
Referenced by p_text_action().
◆ center()
def importCSG.center | ( | obj, | |
x, | |||
y, | |||
z | |||
) |
Referenced by p_cube_action(), p_cylinder_action(), p_linear_extrude_with_twist(), p_square_action(), and p_surface_action().
◆ CGALFeatureObj()
def importCSG.CGALFeatureObj | ( | name, | |
children, | |||
arguments = [] |
|||
) |
Referenced by p_hull_action(), and p_minkowski_action().
◆ convert_points_list_to_vector()
def importCSG.convert_points_list_to_vector | ( | l | ) |
Referenced by p_polygon_action_nopath(), and p_polygon_action_plus_path().
◆ fuse()
def importCSG.fuse | ( | lst, | |
name | |||
) |
References placeholder().
◆ insert()
def importCSG.insert | ( | filename, | |
docname | |||
) |
References processcsg().
Referenced by OpenSCADCommands.AddSCADTask.addelement().
◆ make_face()
def importCSG.make_face | ( | v1, | |
v2, | |||
v3 | |||
) |
◆ myPolygon()
def importCSG.myPolygon | ( | n, | |
r1 | |||
) |
Referenced by p_cylinder_action().
◆ open()
def importCSG.open | ( | filename | ) |
References processcsg().
◆ p_2d_point()
def importCSG.p_2d_point | ( | p | ) |
◆ p_3d_point()
def importCSG.p_3d_point | ( | p | ) |
◆ p_anymodifier()
def importCSG.p_anymodifier | ( | p | ) |
anymodifier : MODIFIERBACK | MODIFIERDEBUG | MODIFIERROOT | MODIFIERDISABLE
◆ p_block_list_()
def importCSG.p_block_list_ | ( | p | ) |
block_list : statement | block_list statement | statementwithmod | block_list statementwithmod
◆ p_boolean()
def importCSG.p_boolean | ( | p | ) |
boolean : true | false
◆ p_circle_action()
def importCSG.p_circle_action | ( | p | ) |
◆ p_color_action()
def importCSG.p_color_action | ( | p | ) |
◆ p_cube_action()
def importCSG.p_cube_action | ( | p | ) |
References center().
◆ p_cylinder_action()
def importCSG.p_cylinder_action | ( | p | ) |
References center(), and myPolygon().
◆ p_difference_action()
def importCSG.p_difference_action | ( | p | ) |
References placeholder().
◆ p_error()
def importCSG.p_error | ( | p | ) |
◆ p_group_action1()
def importCSG.p_group_action1 | ( | p | ) |
◆ p_group_action2()
def importCSG.p_group_action2 | ( | p | ) |
◆ p_hull_action()
def importCSG.p_hull_action | ( | p | ) |
References CGALFeatureObj().
◆ p_import_file1()
def importCSG.p_import_file1 | ( | p | ) |
References process_import_file().
◆ p_intersection_action()
def importCSG.p_intersection_action | ( | p | ) |
References placeholder().
◆ p_keywordargument()
def importCSG.p_keywordargument | ( | p | ) |
keywordargument : ID EQ boolean | ID EQ NUMBER | ID EQ size_vector | ID EQ vector | ID EQ 2d_point | text EQ stripped_string | ID EQ stripped_string
◆ p_keywordargument_list()
def importCSG.p_keywordargument_list | ( | p | ) |
keywordargument_list : keywordargument | keywordargument_list COMMA keywordargument
◆ p_linear_extrude_with_twist()
def importCSG.p_linear_extrude_with_twist | ( | p | ) |
References center(), process_linear_extrude(), and process_linear_extrude_with_twist().
◆ p_matrix()
def importCSG.p_matrix | ( | p | ) |
◆ p_minkowski_action()
def importCSG.p_minkowski_action | ( | p | ) |
minkowski_action : minkowski LPAREN keywordargument_list RPAREN OBRACE block_list EBRACE
References CGALFeatureObj().
◆ p_multmatrix_action()
def importCSG.p_multmatrix_action | ( | p | ) |
References placeholder().
◆ p_not_supported()
def importCSG.p_not_supported | ( | p | ) |
not_supported : glide LPAREN keywordargument_list RPAREN OBRACE block_list EBRACE | subdiv LPAREN keywordargument_list RPAREN OBRACE block_list EBRACE
References placeholder().
◆ p_offset_action()
def importCSG.p_offset_action | ( | p | ) |
References placeholder().
◆ p_operation()
def importCSG.p_operation | ( | p | ) |
operation : difference_action | intersection_action | union_action | rotate_extrude_action | linear_extrude_with_twist | rotate_extrude_file | import_file1 | resize_action | surface_action | projection_action | hull_action | minkowski_action | offset_action
◆ p_part()
def importCSG.p_part | ( | p | ) |
part : sphere_action | cylinder_action | cube_action | circle_action | square_action | text_action | polygon_action_nopath | polygon_action_plus_path | polyhedron_action
◆ p_path_list()
def importCSG.p_path_list | ( | p | ) |
◆ p_path_points()
def importCSG.p_path_points | ( | p | ) |
path_points : NUMBER COMMA | path_points NUMBER COMMA | path_points NUMBER
◆ p_path_set()
def importCSG.p_path_set | ( | p | ) |
path_set : path_list | path_set COMMA path_list
◆ p_points_list_2d()
def importCSG.p_points_list_2d | ( | p | ) |
points_list_2d : 2d_point COMMA | points_list_2d 2d_point COMMA | points_list_2d 2d_point
◆ p_points_list_3d()
def importCSG.p_points_list_3d | ( | p | ) |
points_list_3d : 3d_point COMMA | points_list_3d 3d_point COMMA | points_list_3d 3d_point
◆ p_polygon_action_nopath()
def importCSG.p_polygon_action_nopath | ( | p | ) |
References convert_points_list_to_vector().
◆ p_polygon_action_plus_path()
def importCSG.p_polygon_action_plus_path | ( | p | ) |
References convert_points_list_to_vector().
◆ p_polyhedron_action()
def importCSG.p_polyhedron_action | ( | p | ) |
polyhedron_action : polyhedron LPAREN points EQ OSQUARE points_list_3d ESQUARE COMMA faces EQ OSQUARE path_set ESQUARE COMMA keywordargument_list RPAREN SEMICOL | polyhedron LPAREN points EQ OSQUARE points_list_3d ESQUARE COMMA triangles EQ OSQUARE points_list_3d ESQUARE COMMA keywordargument_list RPAREN SEMICOL
◆ p_projection_action()
def importCSG.p_projection_action | ( | p | ) |
References placeholder().
◆ p_render_action()
def importCSG.p_render_action | ( | p | ) |
◆ p_resize_action()
def importCSG.p_resize_action | ( | p | ) |
resize_action : resize LPAREN keywordargument_list RPAREN OBRACE block_list EBRACE
◆ p_rotate_extrude_action()
def importCSG.p_rotate_extrude_action | ( | p | ) |
References process_rotate_extrude().
◆ p_rotate_extrude_file()
def importCSG.p_rotate_extrude_file | ( | p | ) |
References process_import_file(), and process_rotate_extrude().
◆ p_size_vector()
def importCSG.p_size_vector | ( | p | ) |
◆ p_sphere_action()
def importCSG.p_sphere_action | ( | p | ) |
◆ p_square_action()
def importCSG.p_square_action | ( | p | ) |
References center().
◆ p_statement()
def importCSG.p_statement | ( | p | ) |
statement : part | operation | multmatrix_action | group_action1 | group_action2 | color_action | render_action | not_supported
◆ p_statementwithmod()
def importCSG.p_statementwithmod | ( | p | ) |
statementwithmod : anymodifier statement
◆ p_stripped_string()
def importCSG.p_stripped_string | ( | p | ) |
◆ p_surface_action()
def importCSG.p_surface_action | ( | p | ) |
References center().
◆ p_text_action()
def importCSG.p_text_action | ( | p | ) |
References addString(), addValue(), and processTextCmd().
◆ p_union_action()
def importCSG.p_union_action | ( | p | ) |
◆ p_vector()
def importCSG.p_vector | ( | p | ) |
◆ placeholder()
def importCSG.placeholder | ( | name, | |
children, | |||
arguments | |||
) |
◆ process_import_file()
def importCSG.process_import_file | ( | fname, | |
ext, | |||
layer | |||
) |
References process_mesh_file(), and processDXF().
Referenced by p_import_file1(), and p_rotate_extrude_file().
◆ process_linear_extrude()
def importCSG.process_linear_extrude | ( | obj, | |
h | |||
) |
Referenced by p_linear_extrude_with_twist().
◆ process_linear_extrude_with_twist()
def importCSG.process_linear_extrude_with_twist | ( | base, | |
height, | |||
twist | |||
) |
Referenced by p_linear_extrude_with_twist().
◆ process_mesh_file()
def importCSG.process_mesh_file | ( | fname, | |
ext | |||
) |
Referenced by process_import_file().
◆ process_rotate_extrude()
def importCSG.process_rotate_extrude | ( | obj | ) |
Referenced by p_rotate_extrude_action(), and p_rotate_extrude_file().
◆ processcsg()
◆ processDXF()
def importCSG.processDXF | ( | fname, | |
layer | |||
) |
Referenced by process_import_file().
◆ processSTL()
def importCSG.processSTL | ( | fname | ) |
◆ processTextCmd()
def importCSG.processTextCmd | ( | t | ) |
Referenced by p_text_action().
◆ translate()
def importCSG.translate | ( | context, | |
text | |||
) |
Variable Documentation
◆ gui
bool importCSG.gui = True |
◆ params
importCSG.params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/OpenSCAD") |
◆ printverbose
bool importCSG.printverbose = False |