Using Ignition’s Vision module on my computer I was able to use the Path Tool to drag and drop vertices with very good precision. Now that I am using the computer from the office I can see it behaves different, it jumps by a factor of 10. Is there any way to change it?
I do not recall changing anything on my laptop to drag it smoother.
Since I did not change it intentionally on my laptop I would assume that I tried at some point Ctrl+G to group some drawings (which didn’t work) and just continue using the tools without knowing that I switched that “Snap to Grid” option.
Thanks again. I hope this topic can help someone else in the future.
Path tool, the radius “dots” is not affected from the snap settings. Is there a way to define the paths corner radius other than deleting the rectangle and start over?
I resized some paths, and the radiuses where all wrong. Now its no way to make it square with rounded corners again. The entire rectangle is curved.
When you create a rectangle, you can select path tool from the drawing menu and drag the corners to create radiused corners. Resizing the rectangle makes makes the entire thing go out of form. I then cannot use the path tool again to correct it. It goes to worse than before…
I don’t see how. I resized my rounded triangle many times and it remained the same.
Original triangle with many paths ready to edit
<?xml version="1.0" encoding="UTF-8"?>
<objects fpmi.archive.type="components" framework.version="8.1.14.2022012711" com.inductiveautomation.vision.version="11.1.14.0" timestamp="Wed Mar 09 09:16:58 CET 2022">
<arraylist len="0"/>
<s cls="com.inductiveautomation.vision.api.client.components.shapes.PathBasedVisionShape" lc="16" name="Polygon 3">
<s-ctor s="2;com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegate;d">
<o cls="com.inductiveautomation.factorypmi.application.components.shapes.PathShape">
<o-c m="setPath" s="1;java.awt.geom.GeneralPath"><gp>1 M 228.30579 421.96246 L 204.66757 421.9907 L 181.02936 422.01895 L 157.39111 422.04718 L 133.7529 422.0754 L 110.11467 422.10367 L 86.47644 422.1319 L 62.838226 422.16013 L 39.199997 422.1884 L 50.99463 401.71484 L 62.789276 381.2413 L 74.58392 360.76773 L 86.37857 340.2942 L 98.17322 319.82065 L 109.96785 299.34708 L 121.76248 278.87354 L 133.55713 258.4 L 145.4007 278.8453 L 157.2443 299.29062 L 169.08789 319.73593 L 180.93146 340.18124 L 192.77502 360.62656 L 204.61862 381.07187 L 216.46222 401.51718 Z </gp></o-c>
</o>
<dbl>0.5224034317165288</dbl>
</s-ctor>
<s-c m="setRotationAnchor" s="1;java.awt.geom.Point2D"><p2df>0.5051215;0.66619027</p2df></s-c>
</s>
</objects>
Rounded triangle
<?xml version="1.0" encoding="UTF-8"?>
<objects fpmi.archive.type="components" framework.version="8.1.14.2022012711" com.inductiveautomation.vision.version="11.1.14.0" timestamp="Wed Mar 09 09:19:19 CET 2022">
<arraylist len="0"/>
<s cls="com.inductiveautomation.vision.api.client.components.shapes.PathBasedVisionShape" lc="16" name="Polygon 4">
<s-ctor s="2;com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegate;d">
<o cls="com.inductiveautomation.factorypmi.application.components.shapes.PathShape">
<o-c m="setPath" s="1;java.awt.geom.GeneralPath"><gp>1 M 422.29602 427.75226 L 398.65778 427.78052 L 375.0196 427.80872 L 351.38135 427.83698 L 327.7431 427.86523 L 304.10492 427.89343 C 292.19653 429.81314 287.62146 419.73288 292.2613 407.44812 L 304.05597 386.9746 L 315.8506 366.50104 L 327.64526 346.02747 L 339.43988 325.55396 L 351.23453 305.08038 L 363.02917 284.60687 C 370.82977 275.59756 378.9637 275.25488 386.66736 284.57864 L 398.511 305.02393 L 410.35455 325.46924 L 422.19812 345.91455 L 434.0417 366.35986 L 445.8853 386.80518 L 461.49826 412.15387 C 463.8852 416.83295 460.60547 428.51202 451.88293 427.93893 Z </gp></o-c>
</o>
<dbl>0.5224034317165288</dbl>
</s-ctor>
<s-c m="setRotationAnchor" s="1;java.awt.geom.Point2D"><p2df>0.5051215;0.66619027</p2df></s-c>
</s>
</objects>
(copy both codes and paste them directly in Vision designer.)
If the topic goes further I think you should start a new topic.