cam.operators.gcode_import_op#

Fabex ‘gcode_import_op.py’ © 2012 Vilem Novak

Panels displayed in the 3D Viewport - Curve Tools, Creators and Import G-code

Classes#

WM_OT_gcode_import

Import G-code, Travel Lines Don't Get Drawn

Module Contents#

class WM_OT_gcode_import[source]#

Bases: bpy.types.Operator, bpy_extras.io_utils.ImportHelper

Import G-code, Travel Lines Don’t Get Drawn

bl_idname = 'wm.gcode_import'[source]#
bl_label = 'Import G-code'[source]#
filename_ext = '.txt'[source]#
filter_glob: StringProperty(default='*.*', options={'HIDDEN'}, maxlen=255)[source]#
split_layers: BoolProperty(name='Split Layers', description='Save every layer as single Objects in Collection', default=False)[source]#
subdivide: BoolProperty(name='Subdivide', description="Only Subdivide gcode segments that are bigger than 'Segment length' ", default=False)[source]#
output: EnumProperty(name='Output Type', items='mesh', 'Mesh', 'Make a mesh output', 'curve', 'Curve', 'Make curve output', default='curve')[source]#
max_segment_size: FloatProperty(name='', description='Only Segments bigger than this value get subdivided', default=0.001, min=0.0001, max=1.0, unit='LENGTH')[source]#
execute(context)[source]#