cplane request
 1-15  16-35  36-51

Previous
Next
 From:  DannyT (DANTAS)
2599.16 In reply to 2599.15 
Cool!
Thanks Michael.

-
~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:  DannyT (DANTAS)
2599.17 
Hi Michael,

Another Cplane question.

I have two sessions of MoI open, in one I have an assembly, in the other I have a a single item.
In the assembly I've orientated the Cplane to a different position and angle to the origin, I go to the the second session of MoI, copy the model and paste it into the assembly. I was expecting the item to be pasted in the current orientation of the Cplane in the assembly but this was not the case.

Any options?

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.18 In reply to 2599.17 
Hi Danny - copy and paste is set up to just literally duplicate objects, it does not attempt to modify the pasted objects in any way, like changing them in orientation or anything like that.

That could be a good idea for something to add in the future though.

In v3 I want to work on adding some various orientation tools to help with placing objects in relation to other pieces.

For v2 though you will need to use the Move, Rotate, or Rotate Axis Transform commands to adjust the orientation of the part to where you need it.

If you need some help with that, if you could post your model I could go through some steps for that.

- 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.19 In reply to 2599.18 
Hi Michael,
Sorry for the late reply.

> - copy and paste is set up to just literally
> duplicate objects, it does not attempt to
> modify the pasted objects in any way,
> like changing them in orientation or anything like that.

The thing is that's what I thought I was doing, duplicating the object from XYZ position and then pasting it at the XYZ position in the other session, I didn't think this was changing the orientation of the object, just changing the position of the work plane.

I use it all the time with my other app and thought it was a normal thing, it would be a great addition :)


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.20 In reply to 2599.19 
Hi Danny,

> The thing is that's what I thought I was doing, duplicating
> the object from XYZ position and then pasting it at the XYZ
> position in the other session, I didn't think this was changing
> the orientation of the object, just changing the position of
> the work plane.

I'm not sure if I follow - currently the way it works is that your object is exactly duplicated when you paste, no coordinates are changed, every single XYZ coordinate of your copied object should be exactly the same when you paste in. (with the exception of unit system scaling if there were different units between the copied model and the one you are pasting into).

When you set up a construction plane, you are not actually changing the coordinates for objects that are stored in the geometry database (which are always stored in world coordinates), you're just basically changing your view on to the world and the surface that is used for the initial position of newly drawn objects.

To change an object from one construction plane to a different plane somewhere else, would involve remapping and changing all the coordinates of the objects. I thought that was what you were asking about?

I could see having that as a kind of special paste function, but it seems to be good to leave the regular paste as operating in a simple "just duplicate things with no changes" way.

- 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.21 In reply to 2599.20 
This would be a powerful addition. The ability to have the objects interact with the current working plane.

Even having it as a tick that can be turned on and off would be the optimal choice for me. Whether Globally, or preferably by object. Like a browser pane setting. Set As Global or local object. :O
  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.22 In reply to 2599.20 
Hi Michael,

This looks like another case where the 3d Mech eng apps that I've used don't really follow that 'Autocad philosophy' (if you can call it that)
for example in NX if I have two modeling sessions open, one is empty and the other has a rectangular planar surface lying on the XY plane, I copy this surface then go to the empty session, rotate the work co-ordinates 90° around X then when I paste the surface it will come in on the current XY plane but in absolute it is actually on the ZX plane.

That's the only way I can explain it, hope it makes sense.
If you need more info I'll have to show you graphically.

-
~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:  BurrMan
2599.23 In reply to 2599.22 
Thats how my CAM package works too Danny. I would like the abilty to have it work "either way" that I set. Global or local.
  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.24 In reply to 2599.22 
Hi Danny, yeah I understand what you mean. But yes that is probably tied into the "2D sketch plane" nature of MCAD type stuff.

Possibly in the NX case that you are talking about, the object is defined by an underlying 2D sketch that only has 2D coordinates in it, and then that is associated with a plane.

MoI doesn't really work like that, objects in MoI are always full 3D objects. Even when you draw 2D shapes in MoI, those are just 3D objects that happen to have z = 0.

Like you mention, that's similar to AutoCAD (and also many 3D animation systems) where there is just one large environment that you work in and not a separate "Part modeler" and "assembly modeler" as 2 different applications that you switch between.


Construction planes in MoI are not necessarily only used as a "part modeling" coordinate system, they can also be used as just a general modeling aid to help you draw stuff in a particular spot. Someone that had set a construction plane in some location to just help with some drawing could easily get surprised if they then decide to copy and later paste some other object that happened to be off to the side somewhere. That's why I don't think it is safe to reorient objects automatically when pasting as a default way of doing things.


I was thinking about it some, and what seems like it would work would be to have an additional "PastePart" command that would work the way you want. It could be set up on the right-click on Paste. There could also be a similar "ImportPart" that was set up as a right-click on File/Import for doing a similar thing but bringing the pieces in from a file you pick.


That seems like it could give you the tools to make things work similar to the kind of thing where there are separate "Part" and "assembly" workspaces like you are probably used to.


In Rhino, the way I set up cplanes originally was that they were per-viewport, where every viewport had its own cplane. In MoI I wanted to simplify this and I shifted to having just one global cplane, which seems to be working well since it should make it easier to have a "part modeling" kind of support like you had expected.

- 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.25 In reply to 2599.24 
Hi Michael,

> Possibly in the NX case that you are talking about,
> the object is defined by an underlying 2D sketch
> that only has 2D coordinates in it, and then that
> is associated with a plane.

I'm doing all this in 3d space just like MoI, the planar surface was an example, I can copy and paste this way with anything modeled no sketch involved.

> MoI doesn't really work like that, objects
> in MoI are always full 3D objects. Even
> when you draw 2D shapes in MoI, those
> are just 3D objects that happen to have z = 0.

Yep, same in NX.

> Like you mention, that's similar to AutoCAD
> (and also many 3D animation systems) where
> there is just one large environment that you work
> in and not a separate "Part modeler" and "assembly modeler"
> as 2 different applications that you switch between.

That's partly correct, NX also works in one large environment, the modeling and assembly are done under 'Modeling' then you have a 'Sketcher' and your 2d 'Drafting'
One of the main reasons I use MoI is because of the same functionality and feel to the MCAD programs that I've used, especially in their earlier days before they were bloated.

> I was thinking about it some, and what seems
> like it would work would be to have an additional
> "PastePart" command that would work the way
> you want. It could be set up on the right-click
> on Paste. There could also be a similar "ImportPart"
> that was set up as a right-click on File/Import for
> doing a similar thing but bringing the pieces in
> from a file you pick.

Those two functions would be a great addition to MoI.

Thanks again for looking into this.

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.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: 15 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
 

Reply to All Reply to All

 

 
Show messages:  1-15  16-35  36-51