调整UI图片大小使得更加合理
This commit is contained in:
parent
4e51d0bef9
commit
56aee7da62
183
drawio/.$草图绘制逻辑.drawio.bkp
Normal file
183
drawio/.$草图绘制逻辑.drawio.bkp
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.8">
|
||||||
|
<diagram name="第 1 页" id="OL1nQhlcPm6ZtUhAcjP7">
|
||||||
|
<mxGraphModel dx="1434" dy="836" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="1920" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="0" />
|
||||||
|
<mxCell id="1" parent="0" />
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-1" target="t8ZpAXLHdvMa7BY3-oyr-23">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-1" target="t8ZpAXLHdvMa7BY3-oyr-24">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-1" value="草图绘制事件" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="10" y="130" width="80" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-7">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-8">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-9">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-10">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-3" value="弹出绘制草图参数设定界面" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="220" y="130" width="90" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-7" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-7" value="基于:X点,Y点,Z轴" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="70" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-8" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-8" value="基于:X曲线,Y曲线,Z轴" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="110" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-9" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-9" value="基于:选中平面,Z轴" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="150" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-10" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-10" value="基于:选中平面,法向" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="190" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-21">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-35">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-36">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-43" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-37">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-38">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-39">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-52">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="610" y="10" />
|
||||||
|
<mxPoint x="990" y="10" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-60" value="通过设置是否检查轮廓闭合" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="t8ZpAXLHdvMa7BY3-oyr-54">
|
||||||
|
<mxGeometry x="0.3223" y="2" relative="1" as="geometry">
|
||||||
|
<mxPoint x="-90" as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-15" value="获取绘制场景设置参数,如网格等" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="550" y="130" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-47" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-21" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-21" value="调用绘图模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="20" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-23" target="t8ZpAXLHdvMa7BY3-oyr-3">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-23" value="绘制" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="120" y="110" width="70" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-24" target="t8ZpAXLHdvMa7BY3-oyr-31">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="155" y="255" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-24" value="编辑" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="120" y="150" width="70" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-31" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-31" value="从建模树参数获取绘制草图参数" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="240" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-35" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-35" value="调用尺寸测量模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="60" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-36" value="形状尺寸约束模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="100" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-37" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-37" value="形位尺寸约束模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="140" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-38" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-38" value="集合尺寸约束模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="180" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-51" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-39" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-39" value="文本,线条,点显示模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="220" width="100" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-53" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-46" target="t8ZpAXLHdvMa7BY3-oyr-52">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-46" value="绘制草图" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="870" y="132.5" width="50" height="45" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-52">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="990" y="230" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-69" value="不闭合" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="t8ZpAXLHdvMa7BY3-oyr-65">
|
||||||
|
<mxGeometry x="-0.3804" y="2" relative="1" as="geometry">
|
||||||
|
<mxPoint y="1" as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-67" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-52" target="t8ZpAXLHdvMa7BY3-oyr-57">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-68" value="闭合" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="t8ZpAXLHdvMa7BY3-oyr-67">
|
||||||
|
<mxGeometry x="-0.0495" y="1" relative="1" as="geometry">
|
||||||
|
<mxPoint as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-52" value="检查轮廓闭合" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="950" y="115" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-57" value="完成绘制" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="1080" y="136" width="80" height="37" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-71" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-70" target="t8ZpAXLHdvMa7BY3-oyr-57">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-70" value="提示" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="950" y="230" width="80" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
||||||
183
drawio/草图绘制逻辑.drawio
Normal file
183
drawio/草图绘制逻辑.drawio
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.8">
|
||||||
|
<diagram name="第 1 页" id="OL1nQhlcPm6ZtUhAcjP7">
|
||||||
|
<mxGraphModel dx="1434" dy="836" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="1920" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="0" />
|
||||||
|
<mxCell id="1" parent="0" />
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-1" target="t8ZpAXLHdvMa7BY3-oyr-23">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-1" target="t8ZpAXLHdvMa7BY3-oyr-24">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-1" value="草图绘制事件" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="10" y="130" width="80" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-7">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-8">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-9">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-3" target="t8ZpAXLHdvMa7BY3-oyr-10">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-3" value="弹出绘制草图参数设定界面" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="220" y="130" width="90" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-7" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-7" value="基于:X点,Y点,Z轴" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="70" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-8" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-8" value="基于:X曲线,Y曲线,Z轴" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="110" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-9" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-9" value="基于:选中平面,Z轴" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="150" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-10" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-10" value="基于:选中平面,法向" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="190" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-21">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-35">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-36">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-43" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-37">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-38">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-39">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-15" target="t8ZpAXLHdvMa7BY3-oyr-52">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="610" y="10" />
|
||||||
|
<mxPoint x="990" y="10" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-60" value="通过设置是否检查轮廓闭合" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="t8ZpAXLHdvMa7BY3-oyr-54">
|
||||||
|
<mxGeometry x="0.3223" y="2" relative="1" as="geometry">
|
||||||
|
<mxPoint x="-90" as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-15" value="生成绘制平面,相机转到Z俯视平面,基于预设参数生成绘制场景" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="550" y="117.5" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-47" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-21" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-21" value="调用绘图模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="20" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-23" target="t8ZpAXLHdvMa7BY3-oyr-3">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-23" value="绘制" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="120" y="110" width="70" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-24" target="t8ZpAXLHdvMa7BY3-oyr-31">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="155" y="255" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-24" value="编辑" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="120" y="150" width="70" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-31" target="t8ZpAXLHdvMa7BY3-oyr-15">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-31" value="从建模树参数获取绘制草图参数" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="380" y="240" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-35" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-35" value="调用尺寸测量模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="60" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-36" value="形状尺寸约束模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="100" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-37" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-37" value="形位尺寸约束模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="140" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-38" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-38" value="集合尺寸约束模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="180" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-51" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-39" target="t8ZpAXLHdvMa7BY3-oyr-46">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-39" value="文本,线条,点显示模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="710" y="220" width="100" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-53" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-46" target="t8ZpAXLHdvMa7BY3-oyr-52">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-46" value="绘制草图" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="870" y="132.5" width="50" height="45" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-52">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="990" y="230" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-69" value="不闭合" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="t8ZpAXLHdvMa7BY3-oyr-65">
|
||||||
|
<mxGeometry x="-0.3804" y="2" relative="1" as="geometry">
|
||||||
|
<mxPoint y="1" as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-67" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-52" target="t8ZpAXLHdvMa7BY3-oyr-57">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-68" value="闭合" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="t8ZpAXLHdvMa7BY3-oyr-67">
|
||||||
|
<mxGeometry x="-0.0495" y="1" relative="1" as="geometry">
|
||||||
|
<mxPoint as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-52" value="检查轮廓闭合" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="950" y="115" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-57" value="完成绘制" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="1080" y="136" width="80" height="37" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-71" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="t8ZpAXLHdvMa7BY3-oyr-70" target="t8ZpAXLHdvMa7BY3-oyr-57">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="t8ZpAXLHdvMa7BY3-oyr-70" value="提示" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="950" y="230" width="80" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
||||||
@ -493,7 +493,6 @@ void NativeMgr::DispatchTouchEvent(OH_NativeXComponent* component, void* window)
|
|||||||
//按下并移动,计算移动增量需要乘以灵敏度
|
//按下并移动,计算移动增量需要乘以灵敏度
|
||||||
if (touchEvent_.type == OH_NativeXComponent_TouchEventType::OH_NATIVEXCOMPONENT_MOVE) {
|
if (touchEvent_.type == OH_NativeXComponent_TouchEventType::OH_NATIVEXCOMPONENT_MOVE) {
|
||||||
float dtx=(NativeMgr::x-touchEvent_.x)*0.1;
|
float dtx=(NativeMgr::x-touchEvent_.x)*0.1;
|
||||||
|
|
||||||
float dty=(NativeMgr::y-touchEvent_.y)*0.1;
|
float dty=(NativeMgr::y-touchEvent_.y)*0.1;
|
||||||
renderThread->setRotation(dtx, dty);
|
renderThread->setRotation(dtx, dty);
|
||||||
OH_NativeXComponent_GetTouchEvent(component, window, &touchEvent_);
|
OH_NativeXComponent_GetTouchEvent(component, window, &touchEvent_);
|
||||||
|
|||||||
@ -45,14 +45,14 @@ void V3dCa::SetRotation(float xAngle, float yAngle) {
|
|||||||
// 从 gp_Ax1 中提取方向向量 (gp_Dir -> gp_Vec)
|
// 从 gp_Ax1 中提取方向向量 (gp_Dir -> gp_Vec)
|
||||||
gp_Vec xRotationAxis = camera->Direction().XYZ().Crossed(currentUp.XYZ()); // 叉积得到X旋转轴
|
gp_Vec xRotationAxis = camera->Direction().XYZ().Crossed(currentUp.XYZ()); // 叉积得到X旋转轴
|
||||||
if (xRotationAxis.Magnitude() > gp::Resolution()) { // 防止零向量导致的无效四元数
|
if (xRotationAxis.Magnitude() > gp::Resolution()) { // 防止零向量导致的无效四元数
|
||||||
rotX.SetVectorAndAngle(-xRotationAxis, xAngle * M_PI / 180.0);
|
rotX.SetVectorAndAngle(xRotationAxis, xAngle * M_PI / 180.0);
|
||||||
} else {
|
} else {
|
||||||
rotX.SetIdent(); // 如果叉积为零,则无旋转
|
rotX.SetIdent(); // 如果叉积为零,则无旋转
|
||||||
}
|
}
|
||||||
// 从 gp_Ax1 中提取方向向量 (gp_Dir -> gp_Vec)
|
// 从 gp_Ax1 中提取方向向量 (gp_Dir -> gp_Vec)
|
||||||
gp_Vec yRotationAxis = currentUp.XYZ(); // Y旋转轴就是当前的Up方向
|
gp_Vec yRotationAxis = currentUp.XYZ(); // Y旋转轴就是当前的Up方向
|
||||||
if (yRotationAxis.Magnitude() > gp::Resolution()) {
|
if (yRotationAxis.Magnitude() > gp::Resolution()) {
|
||||||
rotY.SetVectorAndAngle(-yRotationAxis, yAngle * M_PI / 180.0);
|
rotY.SetVectorAndAngle(yRotationAxis, yAngle * M_PI / 180.0);
|
||||||
} else {
|
} else {
|
||||||
rotY.SetIdent(); // 如果Up向量无效,则无旋转
|
rotY.SetIdent(); // 如果Up向量无效,则无旋转
|
||||||
}
|
}
|
||||||
|
|||||||
@ -35,11 +35,11 @@ export struct EventBtn {
|
|||||||
.width(ebWidth)
|
.width(ebWidth)
|
||||||
.height(ebHeigth)
|
.height(ebHeigth)
|
||||||
.backgroundImage($r('app.media.' + this.eventBtn.eIcon))
|
.backgroundImage($r('app.media.' + this.eventBtn.eIcon))
|
||||||
.backgroundImagePosition({ x: '5%', y: '5%' })
|
.backgroundImagePosition({ x: '10%', y: '10%' })
|
||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
.backgroundImageSize({
|
.backgroundImageSize({
|
||||||
width: '90%', // 图片宽度占满按钮
|
width: '80%', // 图片宽度占满按钮
|
||||||
height: '90%' // 图片高度占满按钮
|
height: '80%' // 图片高度占满按钮
|
||||||
})
|
})
|
||||||
.onClick(()=>{
|
.onClick(()=>{
|
||||||
if(!this.eventBtnType){
|
if(!this.eventBtnType){
|
||||||
@ -66,6 +66,8 @@ export struct EventBtn {
|
|||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
}
|
}
|
||||||
}.padding(1)
|
}.padding(1)
|
||||||
|
.borderWidth(2)
|
||||||
|
.borderColor(Color.White)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,10 +103,10 @@ export struct MenuBtn {
|
|||||||
.height(ebHeigth)
|
.height(ebHeigth)
|
||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
.backgroundImage($r('app.media.' + this.menus[this.curtIndex].eIcon))
|
.backgroundImage($r('app.media.' + this.menus[this.curtIndex].eIcon))
|
||||||
.backgroundImagePosition({ x: '5%', y: '5%' })
|
.backgroundImagePosition({ x: '10%', y: '10%' })
|
||||||
.backgroundImageSize({
|
.backgroundImageSize({
|
||||||
width: '90%', // 图片宽度占满按钮
|
width: '80%', // 图片宽度占满按钮
|
||||||
height: '90%' // 图片高度占满按钮
|
height: '80%' // 图片高度占满按钮
|
||||||
}).onClick(()=> {
|
}).onClick(()=> {
|
||||||
ExecuteCommand((this.menus as Array<TitleButton>)[this.curtIndex] as TitleButton);
|
ExecuteCommand((this.menus as Array<TitleButton>)[this.curtIndex] as TitleButton);
|
||||||
})
|
})
|
||||||
@ -118,13 +120,16 @@ export struct MenuBtn {
|
|||||||
.textAlign(TextAlign.Center)
|
.textAlign(TextAlign.Center)
|
||||||
}.height('100%')
|
}.height('100%')
|
||||||
.align(Alignment.Center)
|
.align(Alignment.Center)
|
||||||
}.constraintSize({ minWidth: ebWidth })
|
}
|
||||||
|
.constraintSize({ minWidth: ebWidth })
|
||||||
.height(mwInfo.width*0.01)
|
.height(mwInfo.width*0.01)
|
||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
.bindMenu(this.BaseMenu)
|
.bindMenu(this.BaseMenu)
|
||||||
.type(ButtonType.Normal)
|
.type(ButtonType.Normal)
|
||||||
}
|
}
|
||||||
}.padding(1)
|
}.padding(1)
|
||||||
|
.borderWidth(2)
|
||||||
|
.borderColor(Color.White)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,17 +185,24 @@ export struct SubColumnMenu {
|
|||||||
Button(){
|
Button(){
|
||||||
Row(){
|
Row(){
|
||||||
Image($r('app.media.'+(this.icon!=undefined ? this.icon:(this.menus[this.curtIndex]as TitleButton).eIcon)))
|
Image($r('app.media.'+(this.icon!=undefined ? this.icon:(this.menus[this.curtIndex]as TitleButton).eIcon)))
|
||||||
.width(mwInfo.width*0.013)
|
.width(mwInfo.width*0.012)
|
||||||
.scale({ centerX: '50%', centerY: '50%' })
|
.scale({ centerX: '50%', centerY: '50%' })
|
||||||
|
.backgroundImagePosition({ x: '10%', y: '10%' })
|
||||||
|
.backgroundImageSize({
|
||||||
|
width: '80%', // 图片宽度占满按钮
|
||||||
|
height: '80%' // 图片高度占满按钮
|
||||||
|
})
|
||||||
if(this.name!=undefined){
|
if(this.name!=undefined){
|
||||||
Text(this.name)
|
Text(this.name)
|
||||||
.fontSize(16)
|
.fontSize(16)
|
||||||
}
|
}
|
||||||
}.width('auto')
|
}.width('auto')
|
||||||
}.constraintSize({ minWidth: mwInfo.width*0.013 })
|
}
|
||||||
|
.constraintSize({ minWidth: mwInfo.width*0.012 })
|
||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
.bindMenu(this.BaseMenu)
|
.bindMenu(this.BaseMenu)
|
||||||
.type(ButtonType.Normal)
|
}.borderWidth(2)
|
||||||
}
|
.borderColor(Color.White)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -12,6 +12,8 @@ export struct TextComboBox {
|
|||||||
@Param menu: Array<TitleButton> = new Array<TitleButton>;
|
@Param menu: Array<TitleButton> = new Array<TitleButton>;
|
||||||
@Local selectIndex:number=0;
|
@Local selectIndex:number=0;
|
||||||
@Param name:string|undefined=undefined;
|
@Param name:string|undefined=undefined;
|
||||||
|
@Param nWidth:string='0';
|
||||||
|
@Param mWidth:string='0';
|
||||||
@Builder
|
@Builder
|
||||||
EventMenu() {
|
EventMenu() {
|
||||||
Menu() {
|
Menu() {
|
||||||
@ -29,12 +31,14 @@ export struct TextComboBox {
|
|||||||
Row({space:5}) {
|
Row({space:5}) {
|
||||||
Text(this.name!=undefined?this.name:'')
|
Text(this.name!=undefined?this.name:'')
|
||||||
.fontSize(16)
|
.fontSize(16)
|
||||||
|
.width(this.nWidth=='0'?'auto':this.nWidth)
|
||||||
Text(this.menu[this.selectIndex].eName)
|
Text(this.menu[this.selectIndex].eName)
|
||||||
.height('90%')
|
|
||||||
.bindMenu(this.EventMenu)
|
.bindMenu(this.EventMenu)
|
||||||
.fontSize(16)
|
.fontSize(16)
|
||||||
.backgroundColor($r('sys.color.search_container_focus_color'))
|
.backgroundColor($r('sys.color.search_container_focus_color'))
|
||||||
.borderRadius(8)
|
.borderRadius(8)
|
||||||
|
.width(this.mWidth=='0'?'auto':this.mWidth)
|
||||||
|
.height(this.mWidth=='0'?'90%':'100%')
|
||||||
}.justifyContent(FlexAlign.Start)
|
}.justifyContent(FlexAlign.Start)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,9 +19,10 @@ export struct ViewDialog {
|
|||||||
Button()
|
Button()
|
||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
.backgroundImage($r('app.media.' + item.eIcon))
|
.backgroundImage($r('app.media.' + item.eIcon))
|
||||||
|
.backgroundImagePosition({ x: '10%', y: '10%' })
|
||||||
.backgroundImageSize({
|
.backgroundImageSize({
|
||||||
width: '100%', // 图片宽度占满按钮
|
width: '80%', // 图片宽度占满按钮
|
||||||
height: '100%' // 图片高度占满按钮
|
height: '80%' // 图片高度占满按钮
|
||||||
}).width(ebWidth).height(ebWidth)
|
}).width(ebWidth).height(ebWidth)
|
||||||
.onClick(()=>{
|
.onClick(()=>{
|
||||||
ExecuteCommand(item);
|
ExecuteCommand(item);
|
||||||
|
|||||||
@ -70,10 +70,10 @@ export struct GroupTextEventMenu {
|
|||||||
.padding(1)
|
.padding(1)
|
||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
.backgroundImage($r('app.media.base_seetings'))
|
.backgroundImage($r('app.media.base_seetings'))
|
||||||
.backgroundImagePosition({ x: '5%', y: '5%' })
|
.backgroundImagePosition({ x: '10%', y: '10%' })
|
||||||
.backgroundImageSize({
|
.backgroundImageSize({
|
||||||
width: '90%', // 图片宽度占满按钮
|
width: '80%', // 图片宽度占满按钮
|
||||||
height: '90%' // 图片高度占满按钮
|
height: '80%' // 图片高度占满按钮
|
||||||
})
|
})
|
||||||
.bindMenu(BaseMenu(this.argsMenu))
|
.bindMenu(BaseMenu(this.argsMenu))
|
||||||
}
|
}
|
||||||
|
|||||||
@ -35,13 +35,15 @@ export struct SWNewFile {
|
|||||||
build() {
|
build() {
|
||||||
Column({space:5}) {
|
Column({space:5}) {
|
||||||
Row({space:5}){
|
Row({space:5}){
|
||||||
TextComboBox({name:'创建文档模块:',menu:CreateModelType})
|
TextComboBox({name:'建模文档创建:',menu:CreateModelType,nWidth:'20%',mWidth:'80%'})
|
||||||
Blank().layoutWeight(1)
|
Blank().layoutWeight(1)
|
||||||
}.height('10%')
|
}.height('10%')
|
||||||
|
|
||||||
Row({space:5}){
|
Row({space:5}){
|
||||||
TextComboBox({name:'建模单位:',menu:DocUnitsType})
|
TextComboBox({name:'建模文档单位:',menu:DocUnitsType,nWidth:'20%',mWidth:'80%'})
|
||||||
Blank().layoutWeight(1)
|
Blank().layoutWeight(1)
|
||||||
}.height('10%')
|
}.height('10%')
|
||||||
|
|
||||||
Row({space:5}){
|
Row({space:5}){
|
||||||
Text('保存目录:')
|
Text('保存目录:')
|
||||||
.width(mwInfo.width*this.scalingText)
|
.width(mwInfo.width*this.scalingText)
|
||||||
|
|||||||
@ -52,13 +52,14 @@ export struct TitleColumnSub {
|
|||||||
this.viewDialog=this.ViewDialog();
|
this.viewDialog=this.ViewDialog();
|
||||||
}
|
}
|
||||||
this.viewDialog.open();
|
this.viewDialog.open();
|
||||||
}).width(mwInfo.width*0.013)
|
}).width(mwInfo.width*0.012)
|
||||||
.height(mwInfo.width*0.013)
|
.height(mwInfo.width*0.012)
|
||||||
.backgroundColor(Color.Transparent)
|
.backgroundColor(Color.Transparent)
|
||||||
.backgroundImage($r('app.media.' + SwitchView[0].eIcon))
|
.backgroundImage($r('app.media.' + SwitchView[0].eIcon))
|
||||||
|
.backgroundImagePosition({ x: '10%', y: '10%' })
|
||||||
.backgroundImageSize({
|
.backgroundImageSize({
|
||||||
width: '100%', // 图片宽度占满按钮
|
width: '80%', // 图片宽度占满按钮
|
||||||
height: '100%' // 图片高度占满按钮
|
height: '80%' // 图片高度占满按钮
|
||||||
})
|
})
|
||||||
SubColumnMenu({menus:DisplayMode})
|
SubColumnMenu({menus:DisplayMode})
|
||||||
}.width('100%')
|
}.width('100%')
|
||||||
|
|||||||
@ -86,5 +86,6 @@ export struct TitleTab {
|
|||||||
.barHeight(0)
|
.barHeight(0)
|
||||||
.barMode(BarMode.Fixed)
|
.barMode(BarMode.Fixed)
|
||||||
}.margin({ top:0, left: 0, bottom: 0, right: 0 })
|
}.margin({ top:0, left: 0, bottom: 0, right: 0 })
|
||||||
|
.backgroundColor($r('sys.color.background_secondary'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ export struct TitleTabContent {
|
|||||||
//迭代生成行容器
|
//迭代生成行容器
|
||||||
ForEach(this.curtLayout?.cmEvents, (row_items: Array<TitleButton|Array<TitleGroup>|Array<TitleButton>>, mIndex: number) => {
|
ForEach(this.curtLayout?.cmEvents, (row_items: Array<TitleButton|Array<TitleGroup>|Array<TitleButton>>, mIndex: number) => {
|
||||||
//行的按钮组容器
|
//行的按钮组容器
|
||||||
Row({ space: 1 }){
|
Row({ space: 2 }){
|
||||||
ForEach(row_items, (row_item: TitleButton|Array<TitleGroup>|Array<TitleButton>, index: number) => {
|
ForEach(row_items, (row_item: TitleButton|Array<TitleGroup>|Array<TitleButton>, index: number) => {
|
||||||
if(!Array.isArray(row_item)){//TitleButton
|
if(!Array.isArray(row_item)){//TitleButton
|
||||||
//单按钮
|
//单按钮
|
||||||
@ -25,7 +25,7 @@ export struct TitleTabContent {
|
|||||||
//功能组,迭代多个功能组
|
//功能组,迭代多个功能组
|
||||||
ForEach(row_item, (group_item: TitleGroup, index: number) =>{
|
ForEach(row_item, (group_item: TitleGroup, index: number) =>{
|
||||||
Column({ space:5 }){
|
Column({ space:5 }){
|
||||||
Row({ space: 1 }){
|
Row({ space: 5 }){
|
||||||
ForEach(group_item.grpBtn, (btn_item: TitleButton|Array<TitleButton>, index: number) =>{
|
ForEach(group_item.grpBtn, (btn_item: TitleButton|Array<TitleButton>, index: number) =>{
|
||||||
if(this.curtLayout?.cmName=='应用模块'){
|
if(this.curtLayout?.cmName=='应用模块'){
|
||||||
if(Array.isArray(btn_item)){
|
if(Array.isArray(btn_item)){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user