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.
292 lines
13 KiB
XML
292 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project version="4">
|
|
<component name="AutoImportSettings">
|
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
</component>
|
|
<component name="ChangeListManager">
|
|
<list default="true" id="8f0bafd6-58a0-4b20-aa2b-ddc3ba278873" name="Changes" comment="- added sdf folder ( doesnt work via pip or git=)">
|
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/drawing_modules/draw_widget_solve.py" beforeDir="false" afterPath="$PROJECT_DIR$/drawing_modules/draw_widget_solve.py" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/mesh_modules/interactor_mesh.py" beforeDir="false" afterPath="$PROJECT_DIR$/mesh_modules/interactor_mesh.py" afterDir="false" />
|
|
</list>
|
|
<option name="SHOW_DIALOG" value="false" />
|
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
</component>
|
|
<component name="FileTemplateManagerImpl">
|
|
<option name="RECENT_TEMPLATES">
|
|
<list>
|
|
<option value="Python Script" />
|
|
</list>
|
|
</option>
|
|
</component>
|
|
<component name="Git.Settings">
|
|
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
|
<map>
|
|
<entry key="$PROJECT_DIR$" value="structure" />
|
|
</map>
|
|
</option>
|
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
<option name="ROOT_SYNC" value="DONT_SYNC" />
|
|
</component>
|
|
<component name="MarkdownSettingsMigration">
|
|
<option name="stateVersion" value="1" />
|
|
</component>
|
|
<component name="ProblemsViewState">
|
|
<option name="selectedTabId" value="QODANA_PROBLEMS_VIEW_TAB" />
|
|
</component>
|
|
<component name="ProjectColorInfo">{
|
|
"associatedIndex": 6
|
|
}</component>
|
|
<component name="ProjectId" id="2aDywQvESFCKbJK4JUVHIhkN4S6" />
|
|
<component name="ProjectViewState">
|
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
<option name="showLibraryContents" value="true" />
|
|
</component>
|
|
<component name="PropertiesComponent"><![CDATA[{
|
|
"keyToString": {
|
|
"Python.2dtest.executor": "Run",
|
|
"Python.3d_windows.executor": "Run",
|
|
"Python.Unnamed.executor": "Run",
|
|
"Python.draw_widget2d.executor": "Run",
|
|
"Python.draw_widget_solve.executor": "Run",
|
|
"Python.fluency.executor": "Run",
|
|
"Python.fluencyb.executor": "Run",
|
|
"Python.gl_widget.executor": "Run",
|
|
"Python.main.executor": "Run",
|
|
"Python.meshtest.executor": "Run",
|
|
"Python.side_fluency.executor": "Run",
|
|
"Python.simple_mesh.executor": "Run",
|
|
"Python.vtk_widget.executor": "Run",
|
|
"Python.vulkan.executor": "Run",
|
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
"RunOnceActivity.git.unshallow": "true",
|
|
"git-widget-placeholder": "master",
|
|
"last_opened_file_path": "/Volumes/Data_drive/Programming/fluency",
|
|
"settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings"
|
|
}
|
|
}]]></component>
|
|
<component name="QodanaReportsService">
|
|
<option name="descriptions">
|
|
<ReportDescription localRun="true" path="/private/var/folders/kg/zm48w_r96yb68mlbzvb9gtq40000gn/T/qodana_output/qodana.sarif.json" reportGuid="5f5b823c-c594-48c5-ae1f-062e30303918" reportId="fluency/qodana/2024-02-04" />
|
|
</option>
|
|
</component>
|
|
<component name="RecentsManager">
|
|
<key name="CopyFile.RECENT_KEYS">
|
|
<recent name="$PROJECT_DIR$" />
|
|
<recent name="$PROJECT_DIR$/drawing_modules" />
|
|
<recent name="$PROJECT_DIR$/modules" />
|
|
</key>
|
|
<key name="MoveFile.RECENT_KEYS">
|
|
<recent name="$PROJECT_DIR$" />
|
|
</key>
|
|
</component>
|
|
<component name="SharedIndexes">
|
|
<attachedChunks>
|
|
<set>
|
|
<option value="bundled-python-sdk-4c141bd692a7-e2d783800521-com.jetbrains.pycharm.community.sharedIndexes.bundled-PC-251.26927.90" />
|
|
</set>
|
|
</attachedChunks>
|
|
</component>
|
|
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
<component name="TaskManager">
|
|
<task active="true" id="Default" summary="Default task">
|
|
<changelist id="8f0bafd6-58a0-4b20-aa2b-ddc3ba278873" name="Changes" comment="" />
|
|
<created>1703867682707</created>
|
|
<option name="number" value="Default" />
|
|
<option name="presentableId" value="Default" />
|
|
<updated>1703867682707</updated>
|
|
</task>
|
|
<task id="LOCAL-00001" summary="init">
|
|
<option name="closed" value="true" />
|
|
<created>1703951701948</created>
|
|
<option name="number" value="00001" />
|
|
<option name="presentableId" value="LOCAL-00001" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1703951701948</updated>
|
|
</task>
|
|
<task id="LOCAL-00002" summary="- Basic oop sketch widget implement">
|
|
<option name="closed" value="true" />
|
|
<created>1729958532384</created>
|
|
<option name="number" value="00002" />
|
|
<option name="presentableId" value="LOCAL-00002" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1729958532384</updated>
|
|
</task>
|
|
<task id="LOCAL-00003" summary="- Sketch projection partly works again :)">
|
|
<option name="closed" value="true" />
|
|
<created>1735563255455</created>
|
|
<option name="number" value="00003" />
|
|
<option name="presentableId" value="LOCAL-00003" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735563255455</updated>
|
|
</task>
|
|
<task id="LOCAL-00004" summary="- Sketch projection partly works again :)">
|
|
<option name="closed" value="true" />
|
|
<created>1735585968733</created>
|
|
<option name="number" value="00004" />
|
|
<option name="presentableId" value="LOCAL-00004" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735585968733</updated>
|
|
</task>
|
|
<task id="LOCAL-00005" summary="- Added new componnt controls">
|
|
<option name="closed" value="true" />
|
|
<created>1735601610504</created>
|
|
<option name="number" value="00005" />
|
|
<option name="presentableId" value="LOCAL-00005" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735601610504</updated>
|
|
</task>
|
|
<task id="LOCAL-00006" summary="- Added new componnt controls">
|
|
<option name="closed" value="true" />
|
|
<created>1735601786207</created>
|
|
<option name="number" value="00006" />
|
|
<option name="presentableId" value="LOCAL-00006" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735601786207</updated>
|
|
</task>
|
|
<task id="LOCAL-00007" summary="- changing compos for sketches works">
|
|
<option name="closed" value="true" />
|
|
<created>1735652081552</created>
|
|
<option name="number" value="00007" />
|
|
<option name="presentableId" value="LOCAL-00007" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735652081552</updated>
|
|
</task>
|
|
<task id="LOCAL-00008" summary="- changing compos including sketches and bodies">
|
|
<option name="closed" value="true" />
|
|
<created>1735662119176</created>
|
|
<option name="number" value="00008" />
|
|
<option name="presentableId" value="LOCAL-00008" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735662119176</updated>
|
|
</task>
|
|
<task id="LOCAL-00009" summary="- Drawing bodys depending on the selected compo - Cut working - Edit sketch working">
|
|
<option name="closed" value="true" />
|
|
<created>1735685300102</created>
|
|
<option name="number" value="00009" />
|
|
<option name="presentableId" value="LOCAL-00009" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735685300102</updated>
|
|
</task>
|
|
<task id="LOCAL-00010" summary="- delete sketch working - added mid point snap - added hovering line with distance">
|
|
<option name="closed" value="true" />
|
|
<created>1735763743346</created>
|
|
<option name="number" value="00010" />
|
|
<option name="presentableId" value="LOCAL-00010" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735763743346</updated>
|
|
</task>
|
|
<task id="LOCAL-00011" summary="- Added new buttons and settings">
|
|
<option name="closed" value="true" />
|
|
<created>1735825176611</created>
|
|
<option name="number" value="00011" />
|
|
<option name="presentableId" value="LOCAL-00011" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735825176611</updated>
|
|
</task>
|
|
<task id="LOCAL-00012" summary="- Added new buttons and settings">
|
|
<option name="closed" value="true" />
|
|
<created>1735842523870</created>
|
|
<option name="number" value="00012" />
|
|
<option name="presentableId" value="LOCAL-00012" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1735842523870</updated>
|
|
</task>
|
|
<task id="LOCAL-00013" summary="- Added construction lines switching - Moved callbacks into sketchwidget from main. - Changed reset on right click">
|
|
<option name="closed" value="true" />
|
|
<created>1739739664763</created>
|
|
<option name="number" value="00013" />
|
|
<option name="presentableId" value="LOCAL-00013" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1739739664763</updated>
|
|
</task>
|
|
<task id="LOCAL-00014" summary="- Added contrain displayed next to line - Slight change to point check from solver.">
|
|
<option name="closed" value="true" />
|
|
<created>1743193041868</created>
|
|
<option name="number" value="00014" />
|
|
<option name="presentableId" value="LOCAL-00014" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1743193041868</updated>
|
|
</task>
|
|
<task id="LOCAL-00015" summary="- Added enabling of midpsnap and prepared others - Show dimesnion on hover">
|
|
<option name="closed" value="true" />
|
|
<created>1743284173326</created>
|
|
<option name="number" value="00015" />
|
|
<option name="presentableId" value="LOCAL-00015" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1743284173326</updated>
|
|
</task>
|
|
<task id="LOCAL-00016" summary="- Fixed redraw when component changed">
|
|
<option name="closed" value="true" />
|
|
<created>1744555255868</created>
|
|
<option name="number" value="00016" />
|
|
<option name="presentableId" value="LOCAL-00016" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1744555255868</updated>
|
|
</task>
|
|
<task id="LOCAL-00017" summary="- added MIT license">
|
|
<option name="closed" value="true" />
|
|
<created>1748764814845</created>
|
|
<option name="number" value="00017" />
|
|
<option name="presentableId" value="LOCAL-00017" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1748764814845</updated>
|
|
</task>
|
|
<task id="LOCAL-00018" summary="- added screenshot">
|
|
<option name="closed" value="true" />
|
|
<created>1748765318267</created>
|
|
<option name="number" value="00018" />
|
|
<option name="presentableId" value="LOCAL-00018" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1748765318267</updated>
|
|
</task>
|
|
<task id="LOCAL-00019" summary="- added sdf folder ( doesnt work via pip or git=)">
|
|
<option name="closed" value="true" />
|
|
<created>1755369224187</created>
|
|
<option name="number" value="00019" />
|
|
<option name="presentableId" value="LOCAL-00019" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1755369224187</updated>
|
|
</task>
|
|
<option name="localTasksCounter" value="20" />
|
|
<servers />
|
|
</component>
|
|
<component name="Vcs.Log.Tabs.Properties">
|
|
<option name="TAB_STATES">
|
|
<map>
|
|
<entry key="MAIN">
|
|
<value>
|
|
<State />
|
|
</value>
|
|
</entry>
|
|
</map>
|
|
</option>
|
|
</component>
|
|
<component name="VcsManagerConfiguration">
|
|
<ignored-roots>
|
|
<path value="$PROJECT_DIR$/pythonProject" />
|
|
</ignored-roots>
|
|
<MESSAGE value="init" />
|
|
<MESSAGE value="- Basic oop sketch widget implement" />
|
|
<MESSAGE value="- Renabled extrusion with new object system" />
|
|
<MESSAGE value="- Sketch projection partly works again :)" />
|
|
<MESSAGE value="- Added new componnt controls" />
|
|
<MESSAGE value="- changing compos for sketches works" />
|
|
<MESSAGE value="- changing compos including sketches and bodies" />
|
|
<MESSAGE value="- Drawing bodys depending on the selected compo - Cut working - Edit sketch working" />
|
|
<MESSAGE value="- delete sketch working - added mid point snap - added hovering line with distance" />
|
|
<MESSAGE value="- Added new buttons and settings" />
|
|
<MESSAGE value="- Added construction lines switching - Moved callbacks into sketchwidget from main. - Changed reset on right click" />
|
|
<MESSAGE value="- Added contrain displayed next to line - Slight change to point check from solver." />
|
|
<MESSAGE value="- Added enabling of midpsnap and prepared others - Show dimesnion on hover" />
|
|
<MESSAGE value="- Fixed redraw when component changed" />
|
|
<MESSAGE value="- added MIT license" />
|
|
<MESSAGE value="- added screenshot" />
|
|
<MESSAGE value="- added sdf folder ( doesnt work via pip or git=)" />
|
|
<option name="LAST_COMMIT_MESSAGE" value="- added sdf folder ( doesnt work via pip or git=)" />
|
|
</component>
|
|
</project> |