Skip to content

Commit

Permalink
Update CustomSupportsCylinder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5axes committed Jan 28, 2021
1 parent ef19a99 commit c1476c3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions CustomSupportsCylinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,6 @@ def _createSupportMesh(self, parent: CuraSceneNode, position: Vector , position2
active_build_plate = CuraApplication.getInstance().getMultiBuildPlateModel().activeBuildPlate
node.addDecorator(BuildPlateDecorator(active_build_plate))
node.addDecorator(SliceableObjectDecorator())

# z_fight_distance = 0.2 # Distance between buildplate and disallowed area meshes to prevent z-fighting
# buildplate_transform = Matrix()
# buildplate_transform.setToIdentity()
# buildplate_transform.translate(Vector(0, z_fight_distance, 0))
# buildplate_mesh = CuraApplication.getInstance().getBuildVolume()._grid_mesh
# node.setMeshData(buildplate_mesh)
# node.setTransformation(buildplate_transform)

stack = node.callDecoration("getStack") # created by SettingOverrideDecorator that is automatically added to CuraSceneNode

Expand Down

0 comments on commit c1476c3

Please sign in to comment.