Jump to content
Mr. chris baki

Help for Beginners

Recommended Posts

Hello to everyone and yeahp i started a month ago laying my hands on CAESES software.

 

So, I ve got some questions that i d like to pose concerning the design of a yacht hull for which i was given an AUTOCAD lines plan (i ve read some related posts but i haven't figured out what is the most suitable way to proceed).

 

To start with when i import the curves they appear on CAESES as NURBS but separated in 100+ separate entries, which are really hard to edi, am i right? 1) So how can i "connect" them in order to further edit them. i guess i can create a polyline -> imageCurve and then traslate it ? 2)if i do that, what is the base point (as we 'd say in AUTOCAD) for the traslation ? is it the starting point of the polycurve? 3)is the aforementioned way the most suitable way (i would like to create a parametric design in order to optimize it)? cause my guess is, that image curve is not really helpful (maybe just to have sth to visually compare) 4}how can i copy/paste let's say these cuvres at another project?

 

Thank you very much for your support,

Cheers to everyone,

 

Chris

 

*At the attached file the imported NURBS curves are under Chine Scope

Share this post


Link to post
Share on other sites

Hi Chris,

 

Maybe you can attach an example project so that we better know what you are talking about. Do you have the original file (the one with the NURBS curves that you import)?

 

Currently, there is the issue that if your NURBS curves are linear they will be split up as mentioned by you. This is something we need to check on our side.

 

However, I think in order to create a parametric model for optimization it might be sufficient to import and only visualize the data. Based on this, you can start creating your parametric basic curves (i.e. the most important contour curves) as well as the cross sections that generate the surface. 

 

Can you explain again what you want to do when you said copy/paste?

 

Cheers

Joerg

Share this post


Link to post
Share on other sites

Hi Chris,
 
i took a look at the file and prepared a small demo for you.
 
I would not worry to much about using the imported curves if you are aiming for a fully parametric model. Rather use them to guide your eye when creating a new model from scratch.
Basically, what I would suggest is that you try to recreate the design curves of the hull such as cpc, knuckles and deck and parameterize those curves. Getting from those parametric curves towards a complete hull should be easy. You could simply use ruled surfaces between two curves and add all those surfaces into one Brep. You might even use developable surfaces here having an affordable construction of the hull in mind...
 
I just added a scope named 'exampleApproach' to your file in which I started from scratch. If you click the small icon to the right of the folder you get a nice overview of all the design variables contained and you can play around with the sliders to see how the model adjusts...
 
I hope, this helps to get you started! I would also like to recommend you to go through the provided tutorials to get more familiar with CAESES and parametric modelling.
 
Best regards,
Heinrich

 

post-933-0-38791100-1549380699_thumb.jpeg

boat.fdbc

Share this post


Link to post
Share on other sites

Ooow Thanks a lot; i am impressed...

I ll need some time to understand completely the structure prosposed (basically i haven't understood the Generic curve part yer) but really helpful and "inspirational" design approach.

 

Allow me to dig into that a bit and i be full of questions later on.

 

Thank you,

Chris

Share this post


Link to post
Share on other sites

Hi Chris,

 

sure, take your time. What I have done with the generic curve is basically two things: I combined two planar curves into one 3D curve and at the same time took care of the parametrization as I want the rulings of my ruled surface later on to represent sections at a constant x-Position.

 

Therefore I 'walk along' the cpc and get the x position for every parameter t. That's what is written in the x(t) field of the generic curve 'in3D'. Again, the reason why I choose cpc to take the x-positions from is that I already have in mid that I am going to use the 3D curve + cpc for my ruled surface so I want them to have the same x position for each parameter t. 

Now for y(t) I do NOT just walk along the parameter t of the curve that defines the y position (named 'zView'), but rather find the intersection of zView at that same x position. Hence it is zView.fv(0,x(t)):y.

For z(t) then follows yView.fv(0,x(t)):z.

 

Of course this is something you can use to play around with. By changing the parametrization of the generic curve (open up the general tab in the object editor after selecting the curve) you can affect the shape of the ruled surface - see the attached screenshots... You can even use a custom parametrization function to allow for maximum flexibility.

 

post-933-0-74050400-1549440876_thumb.png post-933-0-54176500-1549440889_thumb.png post-933-0-91910800-1549440900_thumb.png

 

Best regards,

Heinrich

 

 

Share this post


Link to post
Share on other sites

Hello Heinrich,

 

Thank you very much for your help. Ok i think i got it, what you did with the generic curve and it is probably the most appropriate solution. I will try to redesign my boat with the suggested approach later today. For now, i would like to continue my current design in order to understand better Caeses and generally CAD. So, if you allow me i d like to pose some more questions and if possible tell me which are my mistakes at my design and way of thinking for the design.

 

First, i d like to ask again what would be the most suitable way to edit the imported Nurbs curves (let's say the deck curve in order to maintain the same curvature and dimensions at deck (Scope:OR_Data->Basic Curves Original) and how to interpolate them at my redesigned boat (New_Sections, New_Chines) ?

Secondly, most importantly, i have trouble creating the surfaces from the curves i ve drawn, so i d like some help creating surfaces at rhe current design.Is it possible to create the desired surfaces or i have to redesign the curves from the beginning? Of course, i admit the your proposed way is much more efficient and i ll try to apply it at the next design and also that i need to gine more details at my bow.

 

Big thanks to all of you in advance, and as you may feel you are the only source of advice within miles.

 

Best regards,

Chris

 

Boat_2.fdbc

Share this post


Link to post
Share on other sites

Sorry once again, i am posting my up-to-now design for my yacht. One thing is that I am having trouble to create the upper part of stem, if i dont follow the path of creating a curve engine and a metasurface i wont have any results?

 

Also, why i cannot generate waterlines up to 2m? I get the warning that sections cannot be generated, even though i cant see where is the mistake...

 

Thank you, once again,

Chris

boat_3.fdbc

Share this post


Link to post
Share on other sites

Hi Chris,

 

I am not sure I really understand what you mean by editing the imported Nurbs curves. It might be that you are referring to partial parametric modelling techniques such as transformations and free form deformations to allow form variation. In that case image surfaces are what you are looking for, but you can apply those transformations (e.g. Lackenby shift) also further downstream to e.g. a BRep of the complete hull...

About the surfaces you should definitely go through a few tutorials (most importantly meta surfaces) - there is a simple one on a yacht hull that should really help you understand the basic concept.

However, I also created a very simple feature inside your project that allows you to create the main meta surface (from cpc, two knuckle curves and the deck contour). Additionally I used two coons patches for the bow region to close the hull and put everything inside a BRep.

 

post-933-0-51606300-1549459917_thumb.png

 

post-933-0-89638500-1549459760_thumb.png

Boat_2.fdbc

Share this post


Link to post
Share on other sites

Hi Cris,

 

just saw your previous post - of course you can also use ruled or developable surfaces as I proposed earlier instead of the metaSurface - for the bow I would suggest using the coons patch approach I have shown. Note that the coons patches actually take into account the derivatives of adjacent surfaces if they are fed with surface curves (e.g. edges...) - this makes it very easy to achieve a smooth hull!

 

About the waterlines: From what I can see, if you change the draft to say 3m, your waterline moves up as expected on the aft end. However, for the forward end the underlying curve does not reach an elevation of 3 and also the draft is not linked.

 

You should use a polycurve cPoly from c4 and c1 and then cPoly.fv(2,PARAMETERS|Draft) - see the attachment. However, my earlier file is probably already far more advanced so you might want to bring everything together...

 

Cheers,

Heinrich

boat_3.fdbc

Share this post


Link to post
Share on other sites

Mr.Heinrich,

 

I am really grateful for your help. Allow me to study a bit these designs, run through the tutorials again and come up later on with some questions.

 

Kind regards,

Thank you,

Chris

Share this post


Link to post
Share on other sites

Good morning Mr. Heinrich,

 

Thanks again and let me start with my questions concerning file Boat_2.

1)Via feature SimpleTwoKnuckleSection we create a bspline curve that connects points p1,p2,p3,p4 with degree 1. After that via the engine we can create many bsplines from the 4 basic curves (Cpc, ChineLow,ChineUp,Deck), along xPos Curve.

2)After that via MetaSurface we create the desired surface from the Aft_end up to 31.8m (or ChineLow:end).

3)Next, we create the image surfaces just to ensure the continuity between MetaSurface and the 2 surfaces at the bow via that U-Paramter Domain [|SURFACES|main|metaSurface:edge2.ft(2, |misc|WL:start:z), 1] ?

4)Why do we use the imageCurves for the definition of BowSurfaces? to ensure, once again, continuity? If we had used the initial created curves (to define the bow region-under ScopeMisc) we would have problems, right? Also, at the definiton of image Curves we use Source and Domain in order to get the full length of  curves??

5)If i want to use BrepExtrudeEdgesToPlane i need to downlaod it, cause i cannot locate at Breps menu? it is just used to close the surfaces?

6)Finally, how have you designed waterlines, sections, buttocks and they are constantly shown, plus i cannot select them or isolate them? can i deactivate them? They are not offsets? Because

 

These are my questions for now,

Thank you again in advance,

and i know i owe you at least some pines of beer,

 

Cheers,

Chris

Share this post


Link to post
Share on other sites

*One more thing.

 

Between Boat2 and Boat3, there are many differences at the waterlines. I mean Boat2's waterlines are much more smoother specially towards the bow region even though the basic curves are the same. Is it due to the way front surfaces are created? The resulted shape may differ that much?

Share this post


Link to post
Share on other sites

Good morning Chris,

 

Let me answer your questions: with 1 and 2 you are absolutely right, so 3:

 

It is more a leftover from me playing around. You can probably delete the surfaces and use trimmed image curves for the coons patch instead (see next answer about the image curves ).The tangent information of adjacent surfaces is only taken into account when all 4 sides of the coons patch are surface curves (such as edge, iso-parameter curves, etc... identified by the red curve icon)

 

4. I used image curves because I allows me to easily trim them to the right length (by setting the domain start and end). For the lower bow surface I created an imagecurve c1 of |NEW_SECTIONS|CPC_1. This one I trimmed such that it starts at the same x where the waterline starts (31.8m). Afterwards I created another image and trimmed it at z=0.01 (to make sure it ends just where the radius of the stem starts). I did this in two steps, because the original |NEW_SECTIONS|CPC_1 has two intersections with z=0.01 and by trimming at x=31.8 first I make sure I get the right intersection...

This has nothing to do with continuity, it is just about creating the boundary curves for the coons patches.

 

5. Yes it is just a very convenient way to close the hull by extruding all the open edges to a certain plane. You can use this on any BRep with open edges. Simply create a BRep , then add sources (in our case the 3 seperate surfaces that make up the hull) and then add another operation (click the green plus button 'add new operation' in the object editor with the BRep selected) - choose extrude edges to plane, define a plane, elevation and if you want to close the extrusion and finally TOGGLE the small checkbox next to the newly created operation to activate it.

post-933-0-44501400-1549537841_thumb.png

 

6. For quick section visualization you can use the display options at the very bottom of the object editor of surfaces, Breps etc. Simply activate the different planes to draw waterlines, sections and buttocks and put in a series of the form: start,end:number

You should have this parameterized to make it work even when the hull changes.

post-933-0-23474600-1549538608_thumb.png

 

Make sure to also play around with the section filters - together with x/y/z view this gives a nice view on the hull in section mode...

 

post-933-0-72095600-1549538894_thumb.pngpost-933-0-17403500-1549538901_thumb.pngpost-933-0-69671100-1549538906_thumb.pngpost-933-0-98944500-1549538910_thumb.png

 

and 7 (from your newest post): I guess the main difference are the different surface types, but also like I showed to you earlier parametrization of the curves matters a LOT and can be often times used to tweak the shape of the hull.

 

Wish you further good progress!

Cheers,

Heinrich

 

Share this post


Link to post
Share on other sites

Hello Mr. Heinrich,

 

How are you? Hope everything goes well.

 

So, I studied a bit and tried a few things around and i am about to start enjoying designing with Caeses. Still, though, i think i need some more help.

I changed a bit the length of the vessel (no prob) and i tried to recreate the bow surfaces using metasurfaces. I wanted to give some more flair at the bow region (which i could not achieve if coon patches were used/or at least was not the desired flair, you can see if you click at existing offset_group "sections"), therefore i used 2 fsplines (as you can read at the scopes (New_Bow_down,New_Bow_Up). But the results are not 100% correct.

 

i cannot achieve to close the surface at the ForEnd, which curves i should use???

Also, there is an ovelap of the surfaces behing 31.8, eventhough both of them should start at 31.8m ??

Finally, there is a problem at the transom area because the section created there goes up to around 2m instead of 4m, can you tell why?

 

If you have time plz guide me a bit more around.

 

Thank you very much for everything,

Chris

 

 

 

 

boat_4.fdbc

Share this post


Link to post
Share on other sites

Hi Chris,

 

I will take a look and try to answer your questions.

@ Mrs. Gusain: Please try to work through a few tutorials first as most basic questions should be answered there pretty well. Take a closer look especially at the new CAESES Help in the Documentation Browser under category Graphical User Interface / Object Visibility.

Share this post


Link to post
Share on other sites

Hi Chris,

 

If you really want to use a metasurface in this case, I would recommend you to create the sections for the curve engine at constant z so that they rather represent waterlines than actual sections. This way you can easily extract the tangent from the adjacent surface, set an entry angle at the bow and match your given waterline and deck shape. You will probably get nice results with an FSpline or alternatively a BSpline/NURBS curve based on 4 control points.

 

However, if you just want to have a bit more control over the flare in the bow region, why don't you just parameterize the waterline and deck curves? This should give you plenty of control... If you go back to my first post you will find a good starting point for parameterizing the curves - I recommend you combine those projects into one to have a robust parametrization of the design curves along with the meta surface for the main hull portion and the coons patches (or alternatively another metasurface) for the bow.

 

BTW: You seem to use the FSpline as a straight line in many places throughout the project - you might want to check out the corresponding tutorial as it is a far more powerful curve than that and especially valuable in hull design!

 

Regarding the section at the transom: The hull surface simply does not reach all the way back to -1.7. If you create your first section a -1.6999 the section is cut correctly...

 

One more question: what are all those sections in 'NEW_SECTIONS' for and why do you create them manually?

 

 

Best regards,

Heinrich

Share this post


Link to post
Share on other sites

Good morning Mr.Heinrich,

 

Thank you for your tips, and i ll start now trying to design them. So, some questions cause i really have not understood some things.

 

Up to now i have 2(A&B) versions of bow surface but none of them is satisying, therefore i am trying to design versions 1&2.

 

A) SURFACES->BowLow&BowUp : The sections (under Nomeis&Isaloi scope) have an angle at the bow region at wareline's Z.

B) I created a metasurface up to 40.4m (SURFACES->NewBowUP - which btw has an overlap behind 31.8m for which i dont understand the reason) and then i closed the bow surface with a fillet surface(SURFACES->BowWithFillet): In that case sections seem ok and they have the desired flare but the waterlines have a breaking point towards the bow region which i dont like.

 

1) I am trying to create the bow surface as the exemple in fast_monohull but i am having a hard time. My secondFwdSurface is my SURFACES->NewBowUP but after that i get confused on how to create the correct lines(stem angle,xPos etc) in order to design my stem surface. Could you give me some help on that ?

2) I m trying to applicate another way that i read about at the Supply_Vessel_Exemple uploaded at the forum. In this case i m trying to follow the exemple for its StemRadius feature but again the results are discouraging. Could u advice me on that as well please ?

 

*i drew the sections under NewSectionScope just for my help in order to undestand visually the differences resulted from some parameters i tried to change. They are not actually used for the design.

 

Thank you very much.

 

Best regards,

Chris

 

boat_7.fdbc

  • Upvote 1

Share this post


Link to post
Share on other sites

Good morning Mr.Heinrich,

 

Thank you for your tips, and i ll start now trying to design them. So, some questions cause i really have not understood some things.

 

Up to now i have 2(A& B) versions of bow surface but none of them is satisying, therefore i am trying to design versions 1&2.

 

A) SURFACES->BowLow&BowUp : The sections (under Nomeis&Isaloi scope) have an angle at the bow region at wareline's Z.

B) I created a metasurface up to 40.4m (SURFACES->NewBowUP - which btw has an overlap behind 31.8m for which i dont understand the reason) and then i closed the bow surface with a fillet surface(SURFACES->BowWithFillet): In that case sections seem ok and they have the desired flare but the waterlines have a breaking point towards the bow region which i dont like.

 

1) I am trying to create the bow surface as the exemple in fast_monohull but i am having a hard time. My secondFwdSurface is my SURFACES->NewBowUP but after that i get confused on how to create the correct lines(stem angle,xPos etc) in order to design my stem surface. Could you give me some help on that ?

2) I m trying to applicate another way that i read about at the Supply_Vessel_Exemple uploaded at the forum. In this case i m trying to follow the exemple for its StemRadius feature but again the results are discouraging. Could u advice me on that as well please ?

 

*i drew the sections under NewSectionScope just for my help in order to undestand visually the differences resulted from some parameters i tried to change. They are not actually used for the design.

 

Thank you very much.

 

Best regards,

Chris

*haha, B) is B ), without the gap

**my 1 case is under scope StemTRY

Share this post


Link to post
Share on other sites

Hi Chris,

 

alright, here we go:

 

A: of course, the coons patches have an angle at the waterline since there is no tangent inforamtion passed from one surface to the other. A simple solution to smooth this area out would be to trim both surfaces and add a fillet surface in between. As those pictures show:

 

post-933-0-70802300-1549887492_thumb.png post-933-0-13702700-1549887497_thumb.png

 

B: You had the xPos curve wrong. This should be a straight line running at 45° - it simply means, that the curve engine looks up the z-value a every x-position of this curve and then uses this z-value as x-Position for the current section...

 

In this case, there will be a discontinuity between the main hull and the bow, since the main hull has a sharp knuckle at x=31,8 m so you can't just connect a rounded section... When using the CoonsPatches, you can avoid the problem by not making the fillet to wide. You could even think about widening it towards the stem if need be...

 

The resulting hull from trimming and filleting the CoonsPatches looks good to me so I will leave 1 and 2 for you to figure out by yourself if you are still interested ;)

 

post-933-0-88326000-1549889505_thumb.png

 

Cheers,

Heinrich

boat_7.fdbc

Share this post


Link to post
Share on other sites

Hi Chris,

 

I will answer here so others can make use of this thread in future as well.

 

Regarding 1: Like I already mentioned you can not simply attach a meta surface with a rounded section shape to the main surface with the knuckle. You will not get a smooth transition here and as soon as you start changing any parameters the small gap that is already visible right now might get bigger...

post-933-0-58141100-1549958558_thumb.png

 

2. Can you please point me to the .fdb file or re-upload it here? I can not locate it searching for Supply_Vessel_Exemple in the Forum.

 

Once again, I really recommend you to work through the tutorials! Get familiar with the concept of the meta surface - it will allow you to create any free form surface you can imagine. In case of the bow, like I said, I would probably create a feature that gives the kind of waterlines I have in mind and then create a meta surface from this feature definition.

 

The most difficult part is probably to 'extract' the tangent information from the adjacent surface, so I went ahead and did that for you. In the attached project you can use the slider to change the design variable vPos and see how the section moves up and down. From there you can start to modify the feature definition (e.g. change the fullness of the Curve, set an entrance angle for the waterline, etc.) For each parameter you introduce you can then decide whether you want to have this value fixed over the entire surface or if you want to have a smooth distribution instead where you supply a curve instead of a fixed value to the curve engine...

 

post-933-0-82900100-1549963776_thumb.gif

 

edit: and don't get confused - I mixed things up. Obviously the designVariable should be named uPos...

 

Hope this helps! Cheers,

Heinrich

boat_7.fdbc

Share this post


Link to post
Share on other sites

Hello Mr.Heinrich,

 

For one more time, your example helps me a lot to understand and each time i get more 'n more new questions...

 

I uploaded the SupplyVessel example. From that example i wanted to use the StemRadius feature in order to create my bow shape but again i misunderstand sth concerning the entrance angle curve etc. so i cannot recreate it at my ship.

 

I get fully your point about the connection of the main surfaces and the front part so itried to follow your feature example.

Firstly, why your parameter runs up to 0.666???

For my case shouldnt i just create a zPos curve so that the waterlines will run at full height of the vessel? The result is disappointing though so i feel it sth more than that(Feature:frontSurface). i mean, the curve doesn't even close at the stem at any z, moeover it exceeds the deck height etc.I feel i am running into the same problems that i meet while copying from the FastMonohullExemple the bow part creation method.

 

Also, every time you refer to the bow profile you keep starting at 0.01m above baseline. Aren't we missing a small part at the lowest edge of the bow that way?

 

Allow me one more question regarding now the aft part of the vessel cause I am trying to create a skeg and i am looking at the FastMonohullExample. When i try to create the projection curve it just shows up split in 2 or sometimes 3 parts(the separated part appears at 0,0,0). If i change the width of the skeg it works fine but i d like to create a really thin one - 5cm@AftPart and 10cm@ForePart- but keep getting wrong the projection curve. What am i missing here?

 

I want to read the tutorials again but i keep getting lost while trying just to finish this project ...

 

I sincerely thank you,

 

Chris

supplyVessel(1).fdbc

boat_8(8).fdbc

Share this post


Link to post
Share on other sites

Hi Chris,

 

first things first: The parameter runs from 0 to 2/3 as the main surface of your hull is a meta surface that has a poly curve as section definition. This poly curve is made up of 3 straight parts, each straight part makes up 1/3 of the parameter range... At the junction (at 31.8 m - where we want to connect the bow surface) the top-most surface just disappears so you are left with a u-domain of only 0 to 2/3. The remaining 2/3 to 1 range represents the position of the corner... (you can get a good visual impression by clicking the wireframe filter and looking at the surface tesselation)

 

post-933-0-63267400-1550046642_thumb.png

 

Of course, you could also run from a constant zPos at the surface edge to the same height at the stem. This way you will have to use the .fv() or .ft() command twice. In my case you can use .getPos() on the surface edge and .fv() at the stem. Since .ft() and .fv() are a bit more costly I made it this way, but the resulting surfaces should not be any different.

 

You are right about the missing part of the stem (I just made trimmed that 'quick and dirty' ) - feel free to correct it to the exact value.

 

I fixed your meta surface by:

a. correctiong the uPos curve (it has to start at [0,0,0] and end at [0,2/3,2/3] ) This always has to match the specified plane in the curve engine.

b setting the base position at the end of your meta surface to 2/3

and c. by setting two rails to exactly meet the stem profile and get a perfect junction towards the main surface

 

Now I started playing around. I created a curve, again in the y,z plane that represents the fullness (using the area argument of the FSpline) along the parameter u. This way you can set a certain fullness at the waterline and also at the deck... and have a smooth transition in between. I did the same thing for the entry angle of the waterlines...

 

post-933-0-84430200-1550048006_thumb.gif

 

From what I can see those small curves you get close to the origin are the domain curves of the projection (you can simply hide them if not needed by untoggeling the 'Show Domain Curves' field in the object editor of the projection curve).

 

I will send the remaining attachements in the next post...

 

Cheers,

Heinrich

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...