DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Saving a Primary Handle

Started by wisoak, October 21, 2017, 03:36:26 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

wisoak

I am using DC3D v.24 to animate a joystick controller on a mobility power chair. I want to set a handle at the bottom of the joystick so I can pivot it easily for set up on the animation timeline. I can set a new handle location where I want it, but it doesn't remain the handle location for the next animated step on the timeline. I have to rest the handle before every animated step.

Is there a way to save a handle location so I can use it again without redoing it?
V24.0

Dr PR

Have you enabled "Sticky Handles?"

"Options/Options" (Q) "General" tab - check the box next to "Enable sticky handles."

This is supposed to make DesignCAD remember handles that are set for an item using the "Set Handles" command.

I have never tried it with animation so I don't know if it will help. Let us know.

Phil
DesignCAD user since 1987

wisoak

My "Sticky Handles" was checked. I played around with it and still could not save a part with the handle where I wanted it.
V24.0

wisoak

See attached simple drawing of a joystick handle. I want to permanently relocate the handle at the bottom center so I can pivot it in any direction from that point during an animation setup. I relocated the primary handle to where I want it using the alt-H, anywhere, ...saved it, but when I close it or open it in my drawing, the primary handle goes back to the center, center of the handle rather than where I relocated it.
V24.0

Pearco

wisoak:

After you set a new handle with Control-H, do you do a save of the file? I set control handles all the time and right after setting a new location I will save the file. It works good for me but I never work with animations.
Jim
User since ProDesign 1.5

wisoak

Yes, saving the file is the first thing I tried.
V24.0

Lar


I don't know if this applies to dcad's animations but normally the sticky handle isn't the handle that the rotation command uses (I'm assuming when you say 'pivot' you mean with the rotation command) . It uses the selection handle The selection handle is the big blue handle that appears where you click to select something (or the middle of the selection box when you drag-select, or the primary handle when you set new handles).


To pivot with the sticky handles you would have to set at least 2 handles and use the Move command (move by setting point 1 at handle-0 (the primary handle) and setting point 2 where you want handle-1 to go.


Lar

Lar

#7
I downloaded your file and when I select the joy stick the primary handle (handle-0) is there, at the bottom-center.

I think what is happening is you are selecting the joy stick either by clicking on it or dragging a selection box around it and you are thinking the big blue handle that appears is the primary handle (actually, for the selection handle to be at the absolute center of the selection you must be using 'Select All' <ctrl+A>). Like I said in my post above this is the selection handle. It isn't the primary handle but in a bizarre twist of programming lunacy it is the primary handle for the rotation command (as well as mirror and a few other commands). Many a time on these dcad forums I have suggested that the rotation and mirror commands should use the sticky handles if they exist, but obviously they don't agree.


If what I've surmised is accurate then what you can do is put something you can gravity snap to at the location of handle-0, like a very tiny pointmark, and define it and the rest of the joy stick as a group. Now, when you want to select the joy stick, gravity snap to the pointmark. This will select the j-stick and put the selection handle there, so your rotation command will pivot from there (to get the permanent sticky handle there use the 'Set Handles' command after you define the group).


If you have other entities in the animation and one of them has a point in the same place as handle-0, then when you snap there you may select the other object. If this happens just press the enter key until the joy stick gets selected. Or you can delete the other object then Undo to bring it back. Snapping there will now select the j-stick and not the other object.


Lar

Dr PR

I understand the problem you are talking about. Sometime in the distant past I requested a permanent handle (or handles) for an object that I can always use for rotations. It seems like a pretty obvious thing but it hasn't happened yet!

Phil
DesignCAD user since 1987

wisoak

#9
 :( I've been using DC3D for decades and mostly love it, but the designers of it need to spend some time on Animation, either in a better approach or in a tutorial for us users. I spent 5 hours yesterday, and 3 more today trying to animate a mobility vehicle joystick controller, and am no closer to an acceptable finish than I was eight hours ago.

My two major problems: 1). Saving a repeatable handle in a drawing that I can pivot the joystick from (using a side view), without having to reset the handle for every animation timeline box, and,

2). Controlling the rotation changes on the animation time line without having to reset and enter a position in "every" box of the animation timeline. If I leave so much as one open box in the animation timeline, the joystick will pivot 360 degrees counter-clockwise until it reaches the next box. The fact that I can't save a repeatable pivot handle (as mentioned in #1 above), my handle resets are also not always exactly the same, thus making the animation "not smooth". I would love to have to rotate and save the joystick every 5 or 10 or even 20 boxes and have the program see where the next direction is rather than spinning a wild rotation (always counter-clockwise), if I leave any boxes open.

At this point I guess I need a teachable moment with a better lesson on how to successfully solve the above problems, (and I'm willing to admit it could be all my fault), or have someone admit that the DesignCad 3D's animation has some issues that are not easily resolved...so dummies like me quit spending time trying to use it as a tool.
V24.0

Lar


Quote from: wisoak on October 23, 2017, 10:25:34 AM
....thus making the animation "not smooth".
Don't you just set the starting position (say at frame 0) then the end position (at whatever time you want), decide how many frames in between, and dcad increments the required amount of movements in between? That way the movements should always be smooth.


I have Cinema 4D for animations so I don't bother with dcad's. And one of the reason I got C4D was because of the way dcad does animation.


Lar

Lar


Jeez, I tried animating a rotating object and it is absolutely bonkers... for a dcad-anime-newbie like me, anyway.


Everything you say is absolutely true: every time you select something the selection handle appears in the center and you have to reset the handle; rotations always go counter clockwise so if you want to rotate clockwise you have to save an incremental pivot for every frame; my idea of pivoting by using 2 handles can't work because the animation system only uses 1 handle for moves.


If I was forced to do your animation in dcad I would write a macro to incrementally rotate the j-stick and save images in between, then either use a video editor to compile the images into an animation or have the macro load them one per layer. Then, with a video-screen-capturing app recording I would regen the screen and capture the animation while each image refreshes one after another. I have seen this happen in dcad and it makes a pretty decent animation.


In fact, if you had the patience to save each frame you probably can manually increment and save-image.


Lar

Rob S

I wonder what happened to Magic and his animated ball valve assembly

I remember watching the thing bolt itself together and take itself apart again, totally amazing

Unfortunately the links he posted are no longer available, and I did not save a copy for myself

I wonder if anyone did?

So, it is definitely possible, but unfortunately the person that knew how to do it is no longer around.
User since forever

Dr PR

I have very little experience with animation in DesignCAD, but what little I did was frustrating.

Here are two thoughts:

1. If you want to rotate clockwise 5 degrees at every step, can you specify a rotation of 355 degrees (clockwise)?

2. If you want to rotate around the bottom of the joystick, and the program always uses a handle at the midpoint of the object, how about setting a pointmark object along the axis of the joystick at a distance below the bottom equal to the length of the joystick? Group the joystick and the pointmark so the default handle will be in the middle of the joystick/pointmark group and at the bottom of the joystick?

Phil
DesignCAD user since 1987

wisoak

Hair pulled out, air blued by curse language, I finally got a simple animation....but then tried to export it to an .AVI file and got an error message. So....I used a screen recorder from another program to record and make a low resolution (under the 4096KB max) AVI to share on this forum. When I try to post it, I got an error that this file type was not acceptable.
V24.0