pencil icon indicating copy to clipboard operation
pencil copied to clipboard

Feature request: #1248 Implement a discrete straight-line constraint for the polyline - Fixed bug #1890

Open Goodfite4 opened this issue 8 months ago • 3 comments

Fix #1890 Implement #1248

Goodfite4 avatar Apr 04 '25 07:04 Goodfite4

If I missed anything or made a mistake, let me know so I can fix it quickly. Thanks.

Goodfite4 avatar Apr 04 '25 09:04 Goodfite4

Hey @Goodfite4, thank you for your contribution. Would you be able to briefly explain this PR? I saw you add two options "snapAngleDegrees" and "snapAngleBox", what's the idea behind them?

chchwy avatar Jun 03 '25 12:06 chchwy

Hey @Goodfite4, thank you for your contribution. Would you be able to briefly explain this PR? I saw you add two options "snapAngleDegrees" and "snapAngleBox", what's the idea behind them?

The SnapAngleDegree is for the user to specify what angle they want the polyline to snap to. So if you input 45, the polyline will snap to the closest divisible by 45 angle(0 , 45, 90, 135, etc). The Snap Angle Box is for users to check on and off if they actually want the polyline tool to snap to a certain angle.

Goodfite4 avatar Jun 05 '25 05:06 Goodfite4