Giter VIP home page Giter VIP logo

Comments (24)

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


Don't see how to implement.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


Can we have dashed or dotted >lines?

Yes.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown):


Okay, agreed, make the line and use it's Line_X_X angle.
Can we have dashed or dotted lines?

[image: dismi_] Roman Telezhinskyi commented on issue #233: Snapping

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


The two points don't always have a line between them.

Who said you can't make this line yourself? I think create new interface it is more difficult then just make line where you need. Now user can change color for a line. In future even hide such lines.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown):

Define the Angle for each point of the curve by using existing lines:
With Ctrl-Mouse select two points P1 & P2 to define the angle. (The curve doesn't have to touch either point.)
Implement arrow selections

  • Up (AngleLine_P1_P2+90),
  • Right (AngleLine_P1_P2+0)
  • Down (AngleLine_P1_P2-90)
  • Left (AngleLine_P1_P2-180).

The default is Right.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


What text would you suggest? Mouse cursor and text could work too.

How about left 'Show Curve Details'?

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


Making the curve clockwise during Draw phase. Easier than making the curve clockwise during Layout phase. I think this phrase 'clockwise' is easier for the average user to understand that direction is important, >rather than 'Reverse curve'.

I understand this, but it will not help. I can show you example where same curve for two different work pieces must have opposite direction at the same time.

Instead i propose make creation workpiece more interactive. Just highlight path. This tool is not finished yet.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown):


What text would you suggest? Mouse cursor and text could work too.

Susan Spencer
Valentina Community Manager
valentina-project.org http://www.valentina-project.org/
bitbucket.org/dismine/valentina/overview
http://bitbucket.org/dismine/valentina/overview

groups.google.com/forum/#!forum/valentina-project-list
http://groups.google.com/forum/#!forum/valentina-project-list

facebook.com/Valentina.Project http://facebook.com/Valentina.Project
@ValentinaPSW
http://groups.google.com/forum/#!forum/valentina-project-list
valentina-project.blogspot.com http://valentina-project.blogspot.com/

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


The 'Show Curve Details' would show details similar to the 'Show path effects' and 'Show Bezier handles' icons at the end of the top menu bar in Inkscape. Inkscapes' icons affect the currently selected nodes. >Valentina's icon could be selected, and then the user selects the pattern piece. Sometimes it helps understand the pattern by visualizing how the whole thing works.

Already working on it.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown):


Making the curve clockwise during Draw phase. Easier than making the curve
clockwise during Layout phase. I think this phrase 'clockwise' is easier
for the average user to understand that direction is important, rather than
'Reverse curve'.

The 'Show Curve Details' would show details similar to the 'Show path
effects' and 'Show Bezier handles' icons at the end of the top menu bar in
Inkscape. Inkscapes' icons affect the currently selected nodes.
Valentina's icon could be selected, and then the user selects the pattern
piece. Sometimes it helps understand the pattern by visualizing how the
whole thing works.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Felix Ulber (Bitbucket: kjaft, GitHub: kjaft):


Oh dear, I did not came to answer the question yesterday, and now discussion grew further. Now it is me that has problems to follow you ;)
And we have to be careful, because now two different (even if related to each other) things are discussed here: Alignment of Curve handles (thats what my intention was about when starting this issue) and interactivity. Also things get kinda abstract, for some parts I think we need visualized examples.

Roman, are your questions about the pictures probably somehow answered now? This are basically variants of the same thing: aligning the curve handle to a line - directly or with 90/180 degrees offset.

At this point from my side interactive snapping, thought it is something I am used to from other graphics applications, becomes less important when I have all possibilities to use lines and stuff in a formula. This is also more matching the construction process with other tools.

Visual 'snapping' will work only if user has single value in formula.

yes, I see the point, but as I said this is really more a general design question that is really not limited to this tool and thus should be probably discussed separately.

Also i see we need controls for enable/disable snapping.

I still prefer shorcuts for this purpose, but some graphics applications also have e.g. snapping modes.

I propose new snapping "Grid". Not visible grid will help more accurate set value.And show angle and length when user create segment.

Sorry, I really do not understand what you mean here. As I said, probably better separate the issues.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


I propose new snapping "Grid". Not visible grid will help more accurate set value.

And show angle and length when user create segment.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


To enable visual 'snapping', a red 'square' or 'line' could flash when the control point creates a handle that is perpendicular to or inline with an adjacent line.
The handle would appear as a thick red line at the moment when it becomes inline with an adjacent line, and returns to a thin line when it is not inline.
A red square would appear at the endpoint at the moment when the handle becomes perpendicular to an adjacent line, and disappears when angle isn't perpendicular.

How about text? Changes mouse cursor and text? Visual 'snapping' will work only if user has single value in formula.

Also i see we need controls for enable/disable snapping.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


A. Replace the 'angle of the control point' field with four radio buttons:

  1. Parallel to two points
  2. Perpendicular to two points
  3. Angle
  4. Formula

Angle and formula can be one single field. Angle it is just single value. I have plan make it possible. :) Already begin working on it. Need make changes for support unit testing.

Maybe instead of selection two points use LineAngle_X_X variables? Parallel line will has save angle value. Perpendicular line will has angle+90.

Also do you know that you can't select point if this point was created after curve?

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


B. Add Yes/No check box to make curve Clockwise.

Why?

User highlights curve then right clicks on a control point and selects 'Options' (new)

Should be easy to do.

D. Add 'Show Curve Details' icon on top menu bar to show/hide control points and curve direction

In which section? Pattern piece? Maybe also add toolbutton?

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown):


To enable visual 'snapping', a red 'square' or 'line' could flash when the control point creates a handle that is perpendicular to or inline with an adjacent line.

The handle would appear as a thick red line at the moment when it becomes inline with an adjacent line, and returns to a thin line when it is not inline.

A red square would appear at the endpoint at the moment when the handle becomes perpendicular to an adjacent line, and disappears when angle isn't perpendicular.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown):


We need to update the Curve Options dialog box to enable these changes, regardless of how we implement them visually

A. Replace the 'angle of the control point' field with four radio buttons:

  1. Parallel to two points
  2. Perpendicular to two points
  3. Angle
  4. Formula

When a radio button is selected the appropriate input fields are enabled (Select 2 points, Enter Angle, or Enter Formula)

B. Add Yes/No check box to make curve Clockwise.

C. The Curve options dialog box will appear when:

  • User highlights curve then right clicks on curve and selects 'Options' (current)
  • User highlights curve then right clicks on a control point and selects 'Options' (new)

D. Add 'Show Curve Details' icon on top menu bar to show/hide control points and curve direction

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


  1. A Curve joining a straight line, ensure continuity (see picture 2 and 3)
  2. A Curve starting with start continuity aligned perpendicular to a line, i.e. joined to the normal. (Picture 1)

Can you again explain your pictures? I little bit understood about curvehandles.png. Here we have handle on line A_A1.

But what about others two? I don't see snapping here.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


An interactive procedure would be nice nevertheless, but this is a general/conceptual thing and applies to other tools as well.

Ok, agree. I will look if we can get data about angles when move curve's handle.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Felix Ulber (Bitbucket: kjaft, GitHub: kjaft):


Sounds good. Actually I missed the point that really following the line is better and more in sense of the whole construction process. This request is indeed related to the fact, that you cannot influence the curve handles by value/formula at the moment.

An interactive procedure would be nice nevertheless, but this is a general/conceptual thing and applies to other tools as well.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


I don't think we can implement whole snapping feature. Just snapping we maybe can implement, but a curve will not follow a line angle after changing. For this better use formulas, like we do in other cases. See issue #216 where Susan proposed this. With formula it will more look like manual snapping.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Susan Spencer (Bitbucket: suzynumena, GitHub: Unknown):


Ask the Inkscape developers about snapping.
They know about Valentina and are supportive.
Inkscape mail lists are here:
https://inkscape.org/en/community/mailing-lists/

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Felix Ulber (Bitbucket: kjaft, GitHub: kjaft):


I don't know yet how it actually can be done, I have to get into the drawing code. But this was a thing I almost immediately looked after when playing around with valentina (as a user).
Rotating with discrete steps is another feature that woud be nice.

from seamly2d.

sconklin avatar sconklin commented on July 26, 2024

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


How do you plan get angle of adjacent line?

May be better snap value of angle for selected handle if Shift pressed (Ctrl we already use for scale)?

from seamly2d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.