Giter Site home page Giter Site logo

Comments (5)

DrD4ffy avatar DrD4ffy commented on June 16, 2024

The slider limits confuse me. To move the upper cylinder up to 10 mm in positive direction along the z-axis I have to set limits from 0 to -10 mm. Have I misunderstood something, or is this another bug?
image

from freecad.

PaddleStroke avatar PaddleStroke commented on June 16, 2024

The thing is that there are 2 ways to look at your drawing. Either Cylinder1 is 10mm in front of cylinder2, or cylinder2 is 10 mm behind cylinder1.
In other terms the order of the joint selection matter. If you selected the other way, then it would have been 0 to 10.

I need to think about how to make this more intuitive.

from freecad.

DrD4ffy avatar DrD4ffy commented on June 16, 2024

OK, understood. I was misled by the fact that the base cylinder is grounded and only the upper one moves - definitely in positive direction :-) Perhaps the LCS that is in some sort the origin of the joint/movement could be visualized differently? And perhaps the order could be changed if one part is grounded?

from freecad.

PaddleStroke avatar PaddleStroke commented on June 16, 2024

@maxwxyz what do you think is the best solution for the problem ? There're two options :

  • Reverse min and max if min is more than max when the OK button is pressed.
  • Prevent the min spinbox from getting bigger than max and reverse.
    First seem more flexible ui, 2 can be annoying if you want to set the min first to 10 then the max to 20.

from freecad.

maxwxyz avatar maxwxyz commented on June 16, 2024

@PaddleStroke When both limits are 0, is this regarded as a limit at all? So is it possible to just set a min limit or just set a max limit and don't limit in the other direction? If so, maybe the second option seems good. If the user inputs first min to 10 and max is still 0, it could be considered as no limit. Otherwise maybe do the evaluation at creation/when user clicks ok. If not possible the first option as workaround.
Is it possible to insert expressions in limit/offset fields? If so this needs to be considered when you want to change min/max if they flip, even when task view is not open.

from freecad.

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.