Code Monkey home page Code Monkey logo

Comments (10)

teddywaweru avatar teddywaweru commented on May 24, 2024
  1. I don't think that the mid line is a construction line, since construction lines are expected to be dotted.
  2. Lines don't have a defined middle point, so not quite sure what you clicked on in step 3.
  3. It's odd that the diagonal line is missing the bottom end point, that's an anomaly.
    You could try re-doing the constraints & paying attention to the order that you place them, as this might also bring about some errors in the workflow.

from cad_sketcher.

hlorus avatar hlorus commented on May 24, 2024

I wasn't able to reproduce this, could you share the file?

from cad_sketcher.

pgrove604 avatar pgrove604 commented on May 24, 2024

from cad_sketcher.

pgrove604 avatar pgrove604 commented on May 24, 2024

from cad_sketcher.

hlorus avatar hlorus commented on May 24, 2024

@pgrove604
It looks like the file didn't actually upload...

from cad_sketcher.

pgrove604 avatar pgrove604 commented on May 24, 2024

from cad_sketcher.

hlorus avatar hlorus commented on May 24, 2024

Try opening github in the browser and comment there.

from cad_sketcher.

norbini avatar norbini commented on May 24, 2024

I'm able to reproduce this issue on a MacBook Pro 2021 16" (Built-in Liquid Retina XDR Display - 3456 x 2234).

I think this might be an issue with the scale of the dash pattern of the construction line when zoomed in the viewport?
At least when zoomed in enough to clearly see a 20mm x 40mm rectangle.

I believe the dimension constraints, and the midpoint constraint, aren't strictly necessary to reproduce the effect seem in the original report - it just requires drawing a sufficiently short construction line (e.g. 0.1m) where the construction line is so short we can only see part of the line's dash pattern.
In the original report, the line appears to become solid since we mostly see the "on" part of the dash pattern, and it appears too short because we also see a small part of the "off" portion of the pattern.

Perhaps the construction line's dash pattern should be independent of the viewport zoom (i.e. so that the pattern is always takes the same number of pixels on the screen, irrespective of the viewport zoom level)?

To reproduce:

  1. Start a new sketch, using the X-Y plane.
  2. Draw a single line
  3. Make it a construction line
  4. Move the end points of the construction line closer together, zooming the viewpoint as necessary, until the dash pattern isn't obviously repeating any more.

short_construction_line.blend.zip

I think the following blend file shows the originally reported issue.
Once the length constraints are removed, and a corner freely moved so the rectangle becomes sufficiently large (e.g. a diagonal of 0.13m), it should be possible to see the construction line's dash pattern re-emerge:
construction_line_does_not_appear_dashed.blend.zip

Hope this helps!
Hope this helps?

from cad_sketcher.

pgrove604 avatar pgrove604 commented on May 24, 2024

from cad_sketcher.

hlorus avatar hlorus commented on May 24, 2024

Fixed with 6621fb9

from cad_sketcher.

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.