Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW TOOLS: Buttons & buttonholes tool #80

Open
sconklin opened this issue Nov 22, 2017 · 1 comment
Open

NEW TOOLS: Buttons & buttonholes tool #80

sconklin opened this issue Nov 22, 2017 · 1 comment

Comments

@sconklin
Copy link
Collaborator

sconklin commented Nov 22, 2017

From @sconklin on June 9, 2016 18:45

Originally reported by: Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown)


Add new tool to distribute buttons along a line in Draw mode.

Creates a group of buttonhole lines at an angle along a line.

Each buttonhole consists of 3 lines, and a button placement mark (like the circle used for points).
Buttonhole labels are not displayed in Draw or Detail mode.
Buttonhole lines are not accessible in formula dialogs.

Use case:
Apply 5 buttons down the Center Front (Line_A1_A2) of a shirt.
Buttons are 2cm wide, are not thick and are flat (they don't have a shank).

User inputs:
ButtonNumber = 5 (N)
ButtonWidth = 2cm (W)
ButtonLine begin point = A1 (P1)
ButtonLine end point = A2 (P2)
ButtonholeAngle = {parallel || perpendicular || angle} to Line_A1_A2 (BHAngle)
ButtonPoint labels start with = 1

  1. Buttonj for j=1 to N is placed along ButtonLine at distance = Line_P1_P2/(2N) + (j-1)xLine_P1_P2/(N)

Buttonmark is drawn at each Buttonj

Example: for Buttonj, j=1 through N:
Button1 at distance = Line_A1_A2/(10) + 0xLine_A1_A2/(5)
Button2 at distance = Line_A1_A2/(5) + 1xLine_A1_A2/(5)
Button3 at distance = Line_A1_A2/(5) + 2xLine_A1_A2/(5)
Button4 at distance = Line_A1_A2/(5) + 3xLine_A1_A2/(5)
Button5 at distance = Line_A1_A2/(5) + 4xLine_A1_A2/(5)

  1. ButtonholeLinej_1 is from BHLj_1 to BHLj_2:
    point BHLj_1 is from Buttonj, angle=BHAngle, distance=0.3cm
    point BHLj_2 is from BHLj_1, angle=BHAngle +180degrees, distance=1.25xW

  2. ButtonholeLinej_2 is from BHLj_1a to BHLj_1b:
    point BHLj_1a is from BHLj_1, angle=BHAngle + 90degrees, distance=BLO
    point BHLj_1b is from BHLj_1, angle=BHAngle - 90degrees, distance=BLO

  3. ButtonholeLinej_3 is from BHLj_2a to BHLj_2b:
    point BHLj_2a is from BHLj_2, angle=BHAngle + 90degrees, distance=BLO
    point BHLj_2b is from BHLj_2, angle=BHAngle - 90degrees, distance=BLO

@slspencer
Copy link
Collaborator

The buttons and buttonholes could be created as groups, so they can be easily added into a detail workpiece

@slspencer slspencer changed the title New tool: Buttons & buttonholes Feature: Buttons & buttonholes tool Jan 3, 2021
@slspencer slspencer changed the title Feature: Buttons & buttonholes tool NEW TOOLS: Buttons & buttonholes tool Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
New Features - Draw mode
  
Needs triage
Development

No branches or pull requests

3 participants