Add a tool: Open Dart #1434
XOrangoutan
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
I've tried to import the project in my VSCode, but I'm a bit rusted (the last time I wrote C++ was 25 years ago, and the last time I wrote code in a serious project was 6 years ago without git), else I would have tried to add the functionality. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
As a pattern designer using Seamly2D, I want to open a dart on an existing segment of my pattern so that I can add shaping to my garment piece.
Scenario: Opening a Dart on Segment [AB]
This describes the steps taken by the user and the system's response:
Action: The user selects the tool to open a dart (e.g., clicks the "Open Dart" button).
System Prompt 1: The system prompts the user to select the segment where the dart will be opened.
Action: The user clicks on Point A, then Point B to define the segment [AB].
System Prompt 2: The system prompts the user to select the dart opening point and the dart center.
Action: The user clicks on Point P (the opening point, on segment [AB]), then Point C (the center point, a separate point).
System Dialogue: A dialogue window appears, asking for:
The Width (or angle) of the dart.
A Suffix for the new points (default value is _dart).
It confirms the selected inputs: Start Point (A), End Point (B), Dart Opening Point (P), and Dart Center (C).
Action: The user enters the required values and clicks Apply.
System Output: Seamly2D draws the dart by:
Creating two new points, P_dart and B_dart, which are the results of rotating points P and B around center C. The rotation is based on the specified dart width.
Drawing the new pattern lines: segments [PC], [C P_dart], and [P_dart B_dart].
Simplified User Story Format:
"As a pattern designer, I want to use the 'Open Dart' tool to create a dart on a segment [AB] centered at point C and opening at point P, so that Seamly2D automatically calculates the new rotated points (P_dart, B_dart) and draws the complete dart segments, ensuring my pattern piece has the correct shaping."
The attached file show the result of opening a dart.
Open a Dart.sm2d.xml
Please note that the length of segment AB is preserved after opening the dart: length(AB)=length(AP)+length(P_dart B_dart)
Beta Was this translation helpful? Give feedback.
All reactions