cplane request
 1-5  6-25  26-45  46-51

Previous
Next
 From:  Michael Gibson
2599.26 In reply to 2599.25 
Hi Danny, I've still got some stuff to finish up but I thought you might be interested to see how "PastePart" is working so far:



You can see there that it's based on the "Orientation picker" that is currently used for the CPlane command.

There are also some refinements to the orientation picker which will affect the CPlane command as well - there is now a concept of a "primary axis" in the picker, which has a marker at its tip like this:




When you drag an axis other than the primary one, it is restricted to only rotate around the primary one. You can change the primary axis by clicking on an axis rather than dragging on it.

If you snap the initial base point to be aligned to an object, then the z axis starts out as the primary axis. Otherwise if you did not align to an object (there is a new "Align to objects" checkbox that you can turn on or off) then no axis is primary to start with and the first one that you drag will become the primary one.

When you drag the primary axis, it gets to move more freely to orient towards any point rather than being restricted in its rotation like the non-primary ones are.


Here's a demo of how that looks like in practice when using the updated CPlane command. Here you can see how the primary axis changes when I click on one instead of dragging on one:



- 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:  BurrMan
2599.27 In reply to 2599.26 
Oh beautious!!! I love this! Congratulations!
  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)
2599.28 
Useful!
---
Pilou
Is beautiful that please without concept!
My Gallery
  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
2599.29 In reply to 2599.27 
Here's a kind of interesting quick experiment with PastePart:



You set the "Repeat" checkbox to make it really quick to drop in a whole bunch of them . With Repeat activated, it's two clicks for each instance, one to place the base point and a right-click to accept the orientation.

- Michael
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

Previous
Next
 From:  DannyT (DANTAS)
2599.30 In reply to 2599.26 
This is great stuff Michael!

"PastePart" looks fantastic, actually, more functionality than expected :) it's more like "AssemblePart"
How is "PastePart" activated, new icon or command via keyboard shortcut, is it going to act like Import where you choose an existing part as you mentioned and where will the origin be for the part that your bringing in, position as modeled?

Sorry for the barrage of questions but this looks so good, well thought out, well done Michael.

Cheers
~Danny~

EDITED: 16 Nov 2009 by DANTAS

  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
2599.31 In reply to 2599.30 
Some things are just soooo easy now:



- Michael
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

Previous
Next
 From:  Frenchy Pilou (PILOU)
2599.32 In reply to 2599.31 
And help lines are always possible between each drawings?
---
Pilou
Is beautiful that please without concept!
My Gallery
  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
2599.33 In reply to 2599.30 
Hi Danny, yeah it seems to be working really well.

It looks like it will be useful for several different things - certainly for sticking planes and circles together, but also for plopping down objects perpendicular to a freeform surface as well.


> How is "PastePart" activated, new icon or command via keyboard shortcut

It's by right-click on the existing Paste icon, or by keyboard shortcut. I've added in a new default shortcut for it: Ctrl+Shift+V .

So Ctrl+V to get the regular simple paste, and if you want an "paste + set position & orientation", use Ctrl+Shift+V.


> is it going to act like Import where you choose an existing
> part

PastePart just uses whatever is in the clipboard, so use Copy to put whatever part you want in the clipboard first, that's how you control what will be used.

There is a separate companion command though called "ImportPart" which you can activate by right-click on the File/Import icon. Instead of using what is in the clipboard, ImportPart prompts you for a file name, and then sucks in that file and lets you position and orient it in the same way. So if you want to set up a library of parts, you would use ImportPart to bring in one of your library items by picking its file name. In the file you can either position the part relative to the world origin and world axes, or if you have set a CPlane in the file it will use the CPlane as the source/base position.

For using the clipboard, you can either position your object being copied relative to 0,0,0 or you can set a CPlane to set the base point, before copying it to the clipboard. I think that I'm also going to make a companion command CopyClipboardBasePoint which will go as the right-click on Copy, which will prompt you to pick a base point to use for the clipboard origin point, that may be more convenient for some simple cases rather than setting the cplane.


> and where will the origin be for the part that your
> bringing in, position as modeled?

The current plan is: if you have set a CPlane, the cplane defines the part's origin and axes. If you have not set a CPlane (either in the file for ImportPart, or at the time of Copy for copy/paste) then your part origin will just be 0,0,0 with world axes.

That's the current plan anyway, I think I should have the remaining pieces functional by tommorrow.

- 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:  Michael Gibson
2599.34 In reply to 2599.32 
Hi Pilou,

> And help lines are always possible between each drawings?

Sorry, I don't quite understand.... Do you mean those 3 axis lines that are part of the orientation picker?

Yup, those axis lines show up on every individual paste, so you can adjust the rotation of every instance.

You do a right-click or press "Done" to signal that you are done adjusting the orientation.

- 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:  DannyT (DANTAS)
2599.35 In reply to 2599.33 
Hi Michael,

> I think I should have the remaining pieces functional by tommorrow.

Until tomorrow then :)

Hi Pilou,

> And help lines are always possible between each drawings?

Do you mean is it possible to use construction lines, if so, that will be helpful for positioning also.

-
~Danny~
  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
2599.36 In reply to 2599.30 
Also for ImportPart, you will be able to give the file name in a keyboard shortcut if you want, like:

ImportPart "c:\some folder\my filename.3dm"


If you do that, it will just use that given file instead of putting up the dialog box.

So you can set up some keystrokes to plop in and orient some predefined pieces.

- 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:  Michael Gibson
2599.37 In reply to 2599.35 
Hi Danny,

> Do you mean is it possible to use construction lines, if so,
> that will be helpful for positioning also.

Construction lines work normally for when you're placing the base point (the first pick).

They are not quite so easy to use for the orientation step where you are dragging the axis lines around - since the orientation step works by dragging axis lines you already have the mouse down so you can't easily trigger a construction line at that point although it is possible if you move off the viewport and release the mouse button and then come back into the viewport.

But since they work easily on the first pick, you can just put in whatever ones you need for the orientation step then, before finishing the first pick.

- 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:  Michael Gibson
2599.38 In reply to 2599.35 
One thing I don't like too much is the axis triad lines tend to get obscured by the object you are pasting in.

It's not too bad because they highlight with a glow around them and a text label appears when you move over top of them.

If I make the lines longer, they kind of have an unwieldy feel to them and longer ones make it harder to see which is the primary one with the dot marker at the end of it.

I could make them display as always on top lines instead of being hidden by surfaces... But that then kind of messes with depth perception of the triad origin point though.

- 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:  Michael Gibson
2599.39 
Here's one on the end of a booleaned cylinder:



- Michael
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

Previous
Next
 From:  Frenchy Pilou (PILOU)
2599.40 
< Construction lines work normally for when you're placing the base point (the first pick).
Cool that is the more important!
---
Pilou
Is beautiful that please without concept!
My Gallery
  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:  BurrMan
2599.41 In reply to 2599.40 
I'm commin to join ya Weezy!!!
  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:  danperk (SBEECH)
2599.42 
Excellent!
  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:  Schbeurd
2599.43 
Woaw !
That's gonna be a useful feature. :-)
Can the user choose which face of the pasted object he wants to use. For example what if I want to snap the top of your rocket object instead of the bottom ?
Nice addition to the toolset.
  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:  DannyT (DANTAS)
2599.44 In reply to 2599.38 
Hi Michael,

> One thing I don't like too much is the
> axis triad lines tend to get obscured
> by the object you are pasting in.

Looks like the next thing you'll have to work on is transparency :)
Will it work in edges only, like text, on the other hand if the object your bringing has a lot of edges it might still be a problem.

It would be nice maybe when the triad is activate it has the traditional, different colour for each axis kind of thing, would that make it more distinct also the object coming in could be the 'locked' color.

Just some ideas.

Cheers
~Danny~
  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
2599.45 In reply to 2599.43 
Hi Bernard,

> Can the user choose which face of the pasted object he wants
> to use.

Yeah, it will use the construction plane's origin (which by default is the world 0,0,0 origin point) at the time the object was copied to the clipboard as the base point.

So you can position the source object in relation to the origin to adjust that, either that or you can move the cplane to the spot you want.

Also I think there will be an alternate copy command that will prompt you to pick a base point for the copy.

So a few different methods will be available for controlling the part's source position.



> For example what if I want to snap the top of your rocket object
> instead of the bottom ?

So in the examples I showed previously, the pasted in object was in this place when I did Ctrl+C to copy it to the clipboard:



If you wanted the top to be the snap point, you would instead position the object that you are copying like this:



Or you can alternatively place the cplane instead of moving the object, or use the alternate copy command which will let you click a point and use it as the base point.

- 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
 

Reply to All Reply to All

 

 
Show messages:  1-5  6-25  26-45  46-51