Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Marvin Wolf

Pages: [1]
1
GadGeo / Rotation Angle in Macros
« on: August 12, 2022, 12:16:42 PM »
Hello,

I want to use a Macro to create rovings in GadGeo. Is there a way to direcetly use the rotation angle as an Input or do I have to use the 'perpendicular'? How can I calculate the perpendicular for a given angle? A work-around would be fine too.
Furthermore, is there a way to change the rotation angle with the coordinate, so that the roving will appear to be to twisted? For example: Rotation angle at start point is 2°, rotation angle at end point is 5°. The rovings are built by four or five support points, but it would be sufficient to specify the rotation angle at the start and end point.

Thank you for your help!

Kind regards
Marvin

 

2
Hello Aaron,

thank you for your answer.

For a first try, I only want to model one roving in x-direction and one in y-direction. The support points are created by a python script on the basis of two polynomials. These polynomials describe the routes of the rovings I want to modell (x- and y- direction). The result of my python script is currently one array for each roving-direction, containing the triples which describe the support points.
Do we need to create a excel sheet, or is it possible to integrate my python script (or at least the resulting data) into the GeoDict-Macro which I am using to create the model?

If I need to create a excel sheet, I could stick to your example. Roving 1 would be the x-Roving and Roving 2 the y-Roving.

3
Hello,

my aim is to modell a roving based on support points. I already found the object type "Curved Elliptical Fiber" in the "Create/Add GAD Object"-Dialog, where I can input the 3d-Coordinates of support points. As I have around 700 support points, it would be interesting to know if there is a way to input them with a macro or maybe by using an excel-sheet.

My support points are currently saved as triples (touple with 3 elements) within a python array. Is there an easy way to use these triples as an input for modelling?

Thanks for helping.
Marvin

4
Hi Aaron,

thank you for your detailed answer. The coordinate transformation worked for me, the information about how ProcessGeo Crop saves the data in the gps file was the key information.

Kind regards
Marvin

5
for CT and µCT images / Coordinate Transformation after Cropping
« on: June 14, 2021, 11:30:12 AM »
Hello,

I am currently analysing a micro-CT Scan of a woven fabric. Therefore I have to manually cut out single rovings using ProcessGeo -> Crop. Subsequently I want to determine the coordinates of the centroids for every single slice of the roving-cut.
When using ProcessGeo->Crop, a new coordinate-system is introduced ("local" concerning the roving-cut). The determined centroid coordinates refer to this local coordinate-system. However, I am interested in the "global" coordinates of the centroid. Global in this case means reffering to the coordinate-system of the whole micro-Ct Scan. I am searching for a possibility to transfer the "local" coordinates to the "global" coordinate-system.

My Idea was to save the Crop-Settings when cutting out the roving and later use the number of voxel I cutted to perform the coordinate-transformation. The Crop-Settings are saved as a .gps file. Is there a way to read the number of voxel I cutted from this .gps file? As my analysis regards many rovings, it would be helpful if a Macro could read the mentioned voxel-number so that I am able to perform the coordinate transformation using Python.

Thank you for your answer.

Kind regards
Marvin

Pages: [1]