Skip to content

Commit

Permalink
ADD-FIX: in the replayer the primitive cylinder for drills was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Jan 28, 2025
1 parent 3e376e0 commit 496a738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/pypi/ACPy/replayer/ttool_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ def parse_acit(acit_path, scale):
def construct_drillbit_primitive_model(acit_data):
"""Construct a primitive model of the drillbit from the ACIT file."""

base_plane = Rhino.Geometry.Plane(acit_data["chuck_tip"], acit_data["normal"])
base_circle = Rhino.Geometry.Circle(base_plane, acit_data["radius"])
base_plane = Rhino.Geometry.Plane(acit_data["eat_tip"], acit_data["normal"])
base_circle = Rhino.Geometry.Circle(base_plane, acit_data["radius"]/2)
primitive_cylinder = Rhino.Geometry.Cylinder(base_circle, acit_data["length"])
brep = primitive_cylinder.ToBrep(True, True)

Expand Down

0 comments on commit 496a738

Please sign in to comment.