Is there a flatten script?

Next
 From:  Matadem
10971.1 
Good day.

Is there such as a flatten script?
usually when I draw 3d in combination with 2d the curves are not aligned and I have to switch views to flatten so I can join the curves.

If there something available so I can add a shortcut to flatten quickly would be great.

Thanks!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
10971.2 In reply to 10971.1 
Make2d command?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
10971.3 
Edit Frame with "Flat" is not sufficient ?

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10971.4 In reply to 10971.1 
Hi Matadem,

> Is there such as a flatten script?

The Project command (Construct > Curve > Project) can flatten curves down to the construction plane.

You can set up a shortcut key to automatically trigger the "Use CPlane" button, set this on a shortcut key:

Project deleteinputs=true cplaneside=top usecplane

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Matadem
10971.5 
I use the handles but it is time consuming when you have about 30 pieces and get lost :/

Michael that shortcut works perfect,

Thank you!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  pior (PIOR_O)
10971.6 
Hello,
Is there any way to also make this work using the (non-existant) floor as a target ? As if I am not mistaken, even using the top Cplane as target seems to require some object on the floor to project to, which somehow defeats the purpose of using a Cplane as a target (if I am understanding Project correctly).

I suppose what I am trying to get at is that it could be useful to have a Cplane as both as the target to project to, as well as the normal direction to project along ...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10971.7 In reply to 10971.6 
Hi Pior,

re:
> As if I am not mistaken, even using the top Cplane as target seems to require some object
> on the floor to project to

When you use the project to cplane option in the Project command, the cplane is used as the target and no other target object is required.

For example with this 3D curve and no other objects:



Then running the Construct > Curve > Project command and clicking the "Use CPlane" button will result in this projection onto the construction plane, no other objects are involved:



- Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  pior (PIOR_O)
10971.8 
Hi there Michael, here is what I am getting using Project, with only the case of projecting against an object behaving as expected. Odd ...

https://www.youtube.com/watch?v=3732ycAvdjU

The test file is attached.

[edit] ... aaaand I am now realizing that even though "Top" is already selected in the list picker, the tool requires an actual click on the "Use Cplane" button to operate. That's all there was to it :)

For the sake of improved UX I would suggest to flip this around to put the operations in the natural left-to-right order : picking from the list (on the left), then pressing the button (on the right). Preferably with a disambiguation built into the text prompt guiding the user, stating clearly that the button needs to be pressed.

EDITED: 31 Jan 2023 by PIOR_O

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All