Dear Community,
I am unable to use the extrude_edges command in Pygeometry. Could you please assist me with this?
modeler = launch_modeler()
print(modeler)
design_name = "ExtrudeProfile"
design = modeler.create_design(design_name)
web = 50
height = 80
width = 200
length = 1000
plane = Plane(origin=Point3D([0,0,0]), direction_x=Vector3D([0,1,0]), direction_y=Vector3D([0,0,1]))
sketch = Sketch(plane)
(sketch.segment(Point2D([0, 0]), Point2D([web, 0]))
.segment_to_point(Point2D([web, height]))
.segment_to_point(Point2D([width-web, height]))
.segment_to_point(Point2D([width-web, 0]))
.segment_to_point(Point2D([width, 0])))
sketch.plot()
body = GeometryCommands.extrude_edges(sketch, distance=length)
design.plot()