Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    Trying to understand the way TRIM works when you use modifier buttons.

    In the picture below, I drew line 1 straight down. Then, I drew another straight line (2) next to it that was shorter. I used TRIM and the endpoint modifier on line 1 when prompted for "trim to point". As you can see by the red reference line (and checked via LIST), it trims to the exact Y of line 1.

    I drew line 3 at an arbitrary angle, finishing it short of the reference line. I did the above procedure, but it overshoots the reference line.

    Next, I drew line 4 parallel to line 3, and left it short as well. With this TRIM, I used the @Ref. Point modifier and selected line 1 with the endpoint modifier, and then clicked after selecting the Same Y modifier. This got it closer to the reference line, but it still overshoots it.

    I know I can just TRIMTO the reference line and get it bang on, but for the sake of understanding the mechanics, does anyone know (hint: Monsen) what TRIM is hunting for in the above scenarios when the TRIMmed line is at an angle?

    Thanks in advance.
    • CommentTimeMay 20th 2020 edited
    When you trim to a point, and you choose a point that is not on the actual entity, CC3+ will use the point on the entity that is closest to the point you selected. (Since trim can extend the line too, saying the point is on the entity is a bit of a misnomer, more formally correct would be to say on the line described by the line segment in the drawing)

    If you do some measuring on your drawing there, you'll see that the trim points used for both 3 and 4 are closer to the endpoint of 1 this way than if they had been trimmed at the reference line.
    • CommentAuthorLoopysue
    • CommentTimeMay 20th 2020
    So both those lines are trimmed at the precise point where (if they were tangent lines) they would meet the smallest imaginary circle drawn at the trimming point that they could possibly meet?
    • CommentTimeMay 20th 2020
    Thanks! Makes perfect sense now.