Search found 65 matches
- Tue Dec 03, 2024 11:54 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
The question was about resetting the frame. You are not happy about where the local frame is located relatively to the geometry. But for an arbitrary geometry there is no such thing as the default frame. You need to define it yourself either manually or in code. If you replace rotations and translat...
- Tue Dec 03, 2024 7:23 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
The above code assumes that descendants represent parts of a solid assembly, so the different surfaces have to remain aligned in the same way. Notice that the child entity is moved as a whole without modifying relative position of its local frame. If you need to move local frame for descendants also...
- Tue Dec 03, 2024 7:09 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
Again, why do we need to modify the geometry? Geometry itself is not aware of any frames. It is just a collection of coordinates, curves, surfaces. Say, if the object is a single point as a point set, then the geometry will have only three coordinates like (1,0,0) stored. Translation with IGeometric...
- Tue Dec 03, 2024 6:34 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
Similarly to usual frame movement the second rotation in transform.Rotate(0.25 * Math.PI, 0); transform.Rotate(0.25 * Math.PI, 2); transform.Translate(-1, -2, -3); of MoveGeometry() applies rotation relative to the current orientation of the frame achieved after the first rotation, not the initial o...
- Tue Dec 03, 2024 10:11 am
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
Please download today's 5549 update. We have added two new cases to InterfaceTests.IEntityTest. See the Samples\NET\C#\Tests\InterfaceTests\ project. To run make sure the top IEntityTest is selected on the left and click either TranslateLocalFrame or MoveLocalFrame at the bottom in Cases list. Trans...
- Mon Dec 02, 2024 6:41 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
Sure. Sorry, I should have mentioned that we are making some checks and tests before adding code snippets here.
Thank you for a great question
Thank you for a great question
- Sun Dec 01, 2024 8:33 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
Just in case an educational primer for our dear newbie readers. There are several types of transformations: 1. 3D Viewing pan, rotate, zoom. These do not change anything in the model. It is a change in the point of view. It is handler by the renderer and does not require any coding. 2. Moving entiti...
- Fri Nov 29, 2024 9:47 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
Another option: If you either make your entity a child of an empty one and add an empty child or use frame of a child you would have the second frame to move the object around. A family of Entities move together when either frame is moved.
- Fri Nov 29, 2024 9:41 pm
- Forum: DG Kernel discussions
- Topic: Resetting frame without affecting objects
- Replies: 10
- Views: 671
Re: Resetting frame without affecting objects
Hi RJD Surface of an entity is defined relative to the local frame. This is because the object can be moved frequently like during animation. This means that the local frame is baked into the definition (parameters) of the surface. So, if you need to change the local frame, changing the geometry (su...
- Wed Nov 27, 2024 3:23 am
- Forum: DG Kernel discussions
- Topic: Fillet crashes
- Replies: 3
- Views: 941
Re: Fillet crashes
Hello.
We have entered the problem into the system. It is in a queue. It might take some time.
Thank you for reporting.
Regards
We have entered the problem into the system. It is in a queue. It might take some time.
Thank you for reporting.
Regards