Commit Graph

35 Commits

Author SHA1 Message Date
bklronin
11d053fda4 Fix sketcher mode handling to prevent unintended line creation during drag operations
Major changes:
- Fixed right-click handler to directly set mode to NONE instead of relying on main app signal handling
- Added safety checks in left-click handler to prevent drawing when no draggable point is found in NONE mode
- Enhanced mode compatibility by treating Python None as SketchMode.NONE in set_mode() method
- Added comprehensive debug logging for mode changes and interaction state tracking
- Resolved integration issue where persistent constraint modes were prematurely reset by main app
- Ensured point dragging is only enabled in NONE mode, preventing accidental polyline creation

This fixes the reported issue where deactivating the line tool would still create lines when dragging,
and ensures proper mode transitions between drawing tools and selection/drag mode.
2025-08-16 22:30:18 +02:00
bklronin
4d7b2cdbad - Added enabling of midpsnap and prepared others
- Show dimesnion on hover
2025-03-29 22:36:11 +01:00
bklronin
f26a596159 - Added contrain displayed next to line
- Slight change to point check from solver.
2025-03-28 21:17:19 +01:00
bklronin
2a7f718b3e - Added construction lines switching
- Moved callbacks into sketchwidget from main.
- Changed reset on right click
2025-02-16 22:00:59 +01:00
bklronin
878b6093b7 - Added new buttons and settings 2025-01-02 19:28:43 +01:00
bklronin
3e88e41e4b - Added new buttons and settings 2025-01-02 14:39:36 +01:00
bklronin
e9383f76a2 - delete sketch working
- added mid point snap
- added hovering line with distance
2025-01-01 21:35:43 +01:00
bklronin
f5861b8bd1 - Drawing bodys depending on the selected compo
- Cut working
- Edit sketch working
2024-12-31 23:48:20 +01:00
bklronin
d75d59f311 - Sketch projection partly works again :) 2024-12-30 20:12:46 +01:00
bklronin
842799b35f - Sketch projection partly works again :) 2024-12-30 13:54:15 +01:00
bklronin
a5202e1630 - Basic oop sketch widget implement 2024-10-26 18:02:06 +02:00
bklronin
79c1aa106f -Changed multi layer render
- added ignore
- prepraed sketchwidget
2024-10-26 14:40:58 +02:00
bklronin
511b5da78a - Bsic sketch to object approach 2024-08-16 20:21:21 +02:00
bklronin
b80185e93e - Bsic sketch to object approach 2024-07-28 13:46:55 +02:00
bklronin
df336aaea7 Layered rendering
inverted interactor
Befrore fork
2024-07-18 20:42:01 +02:00
bklronin
a8d15d7b4b Fixed interactor
Added proj lines selected
2024-07-17 16:53:25 +02:00
bklronin
048ace83ce - Projection and extrusion fixed again 2024-07-16 20:11:24 +02:00
bklronin
c6f48a6e78 - Fixed 2d sketch with transfrom 2024-07-16 18:02:27 +02:00
bklronin
0c3e4eeb5e - Sketch projection and extrude in place working 2024-07-13 13:46:13 +02:00
bklronin
d2b8d9540a - Working project and draw on exiting 2024-07-11 20:16:20 +02:00
bklronin
cb471b4108 - More projection and extrusion in place 2024-07-10 23:19:43 +02:00
bklronin
b5c965bf2e - Basic 2D projection 2024-07-09 15:45:34 +02:00
bklronin
5ff48c0f5e - Basic 2D projection 2024-07-08 22:14:25 +02:00
bklronin
9daf263aad - Implemented vtk base for viewing 2024-07-04 22:58:52 +02:00
bklronin
fcabe449f8 - Re enebaled mesh generation
- fixed line tool right button break line
- implemented main buffer for pt-line distance
2024-07-01 13:34:42 +02:00
bklronin
e9098108d2 - Transition to functions for entity retrieval 2024-06-28 22:52:23 +02:00
bklronin
24e4d1028b - Added püoint to line incl detection
- Added draggable points
- added fhunctions for solv retreival
2024-06-28 14:22:27 +02:00
bklronin
3e85a11787 - Added distance and quadrant
- added line distance to drawn lines
2024-06-26 17:42:13 +02:00
bklronin
ac9176fbd3 - pt_line constrain
- Scalable quadrant view
2024-06-25 15:22:10 +02:00
bklronin
b197e52cf3 Basic pt_pt constrain with ui 2024-06-19 22:17:30 +02:00
bklronin
edbd5ed0d3 - Started Solvespace implementation solver 2024-06-19 17:14:58 +02:00
bklronin
a64971e0fe Checkpoint before solvespace integration 2024-06-18 09:53:39 +02:00
bklronin
92a870e834 - UI workflow improvements
- Remove specific item
-
2024-06-15 23:03:27 +02:00
bklronin
055a90b62e - Extrude and cut 2024-06-15 00:18:32 +02:00
bklronin
e35ff3e9a1 - Basic polygon to body 2024-06-14 14:38:11 +02:00