- Basic 2D projection
This commit is contained in:
6
main.py
6
main.py
@@ -74,8 +74,8 @@ class MainWindow(QMainWindow):
|
||||
|
||||
def add_new_sketch_wp(self):
|
||||
self.sketchWidget.clear_sketch()
|
||||
edges = [((-158.0, -20.0, -25.0), (286.0, -195.0, -25.0)), ((-158.0, -20.0, 25.0), (-158.0, -20.0, -25.0))]
|
||||
#edges = self.custom_3D_Widget.access_selected_points
|
||||
#edges = [((-158.0, -20.0, -25.0), (286.0, -195.0, -25.0)), ((-158.0, -20.0, 25.0), (-158.0, -20.0, -25.0))]
|
||||
edges = self.custom_3D_Widget.project_tosketch_edge
|
||||
normal = self.custom_3D_Widget.selected_normal
|
||||
|
||||
self.sketchWidget.create_workplane_projected()
|
||||
@@ -310,7 +310,7 @@ class MainWindow(QMainWindow):
|
||||
items = self.ui.body_list.findItems(name_op, Qt.MatchExactly)[0]
|
||||
self.ui.body_list.setCurrentItem(items)
|
||||
self.calc_sketch_projection_3d(lines, 0, length)
|
||||
#self.draw_mesh()
|
||||
self.draw_mesh()
|
||||
|
||||
def send_cut(self):
|
||||
name = self.ui.body_list.currentItem().text()
|
||||
|
||||
Reference in New Issue
Block a user