Skip to content

Commit

Permalink
G43, AB Axes UI reference fixes, numba removed
Browse files Browse the repository at this point in the history
  • Loading branch information
SpectralVectors committed Dec 29, 2024
1 parent 4c865e5 commit 1ba88f3
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 18 deletions.
24 changes: 12 additions & 12 deletions scripts/addons/cam/blender_manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ copyright = [
]

wheels = [
# llvmlite
"./wheels/llvmlite-0.43.0-cp311-cp311-macosx_10_9_x86_64.whl",
"./wheels/llvmlite-0.43.0-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/llvmlite-0.43.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"./wheels/llvmlite-0.43.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"./wheels/llvmlite-0.43.0-cp311-cp311-win_amd64.whl",
# # llvmlite
# "./wheels/llvmlite-0.43.0-cp311-cp311-macosx_10_9_x86_64.whl",
# "./wheels/llvmlite-0.43.0-cp311-cp311-macosx_11_0_arm64.whl",
# "./wheels/llvmlite-0.43.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
# "./wheels/llvmlite-0.43.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
# "./wheels/llvmlite-0.43.0-cp311-cp311-win_amd64.whl",

# numba
"./wheels/numba-0.60.0-cp311-cp311-macosx_10_9_x86_64.whl",
"./wheels/numba-0.60.0-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/numba-0.60.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl",
"./wheels/numba-0.60.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
"./wheels/numba-0.60.0-cp311-cp311-win_amd64.whl",
# # numba
# "./wheels/numba-0.60.0-cp311-cp311-macosx_10_9_x86_64.whl",
# "./wheels/numba-0.60.0-cp311-cp311-macosx_11_0_arm64.whl",
# "./wheels/numba-0.60.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl",
# "./wheels/numba-0.60.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
# "./wheels/numba-0.60.0-cp311-cp311-win_amd64.whl",

# opencamlib
"./wheels/opencamlib-2023.1.11-cp311-cp311-macosx_10_9_x86_64.whl",
Expand Down
6 changes: 4 additions & 2 deletions scripts/addons/cam/properties/operation_props.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,11 @@ class CAM_OPERATION_Properties(PropertyGroup):
cutter_tip_angle: FloatProperty(
name="Cutter V-carve Angle",
description="Cutter V-carve angle",
default=pi / 3,
min=0.0,
max=180.0,
default=60.0,
max=pi,
subtype="ANGLE",
unit="ROTATION",
precision=PRECISION,
update=update_offset_image,
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/addons/cam/ui/panels/machine_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def draw(self, context):
subheader.prop(self.machine, "output_tool_change")
if subpanel:
subpanel.enabled = self.machine.output_tool_change
subpanel.prop(self.machine, "output_g43_on_tool_change")
subpanel.prop(self.machine, "output_G43_on_tool_change")

# Block Numbers
if self.level >= 2:
Expand Down
6 changes: 3 additions & 3 deletions scripts/addons/cam/ui/panels/op_properties_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,20 +216,20 @@ def draw(self, context):
header.label(text="A & B Axes")
if panel:
subheader, subpanel = panel.panel("a_axis", default_closed=True)
subheader.prop(self.op, "enable_A", text="A Axis")
subheader.prop(self.op, "enable_a_axis", text="A Axis")
if subpanel:
subpanel.enabled = self.op.enable_a_axis
col = subpanel.column(align=True)
row = col.row()
row.use_property_split = True
row.prop(self.op, "rotation_a")
col.prop(self.op, "A_along_x")
col.prop(self.op, "a_along_x")
if self.op.a_along_x:
col.label(text="Ⓐ || Ⓧ - Ⓑ || Ⓨ")
else:
col.label(text="Ⓐ || Ⓨ - Ⓑ || Ⓧ")
subheader, subpanel = panel.panel("b_axis", default_closed=True)
subheader.prop(self.op, "enable_B", text="B Axis")
subheader.prop(self.op, "enable_b_axis", text="B Axis")
if subpanel:
subpanel.enabled = self.op.enable_b_axis
col = subpanel.column(align=True)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 1ba88f3

Please sign in to comment.