-
Content Count
41 -
Joined
-
Last visited
Posts posted by Mr. Carlos Repolho
-
-
Hi Carlos,
please find attached a sample project. I usually create an image of the hull and shift it in negative z by the draft value. Thus it is in the water. I don't know how to change the sky-view water level.
I hope it helps.
Cheers
Matthias
Thanks i will give it a look.
I achelly thought about it but i have the container stack and the bridge dont know if i can shift it also.
best regards
-
Good Morning,
Could you give some hints regarding the configuration skybackground menu or provide some kind of video tutorial.
If a tuturial is not available could you give a short explanation how to positionate the water regarding the ship, my ship appears always to be at the top of the water even after i define the ship position vector.
best regards,
thank you
-
Hi !
Something strange its happening! The code works and it worked with what i had written before but when debugging if i don't put the break point exactly on the else, Lfn variable it jumps and for the porpuse of debugging the user cant see any change.
I think is something about the debugger so if i could send the feature to you i think it would be usefull.
best regards and thanks
-
I saw the tutorial and i thought about doing it, will do it as soon as i leave work. doing my thesis while working at a shipyard has become a much bigger challenge than i was prospecting... :wacko:
When i have some results i will post here.
Danke Stefan
-
"But that does not make any sense since "and ( Lratio>=1,Lratio<1.1)" is implicit for the else case in your example"
Yes i thought it would be implicit due to the value 1.05 complies with the inner interval, but for some reason it jumps of the 'else ' and doesn't attribute any value to Lfn.
Anyway i will try the and command and then after i will upload the file so you could take a look if you have some spare time.
This is a feature for a simple empirical method of resistance prediction called Hollenbach, in the beginning of the code i need to define this Lfn which depends on a ratio that is obtained by (Los/lpp), after the Fn is calculated and the prediction is made.
After this code i still need to do Holtrop&Mennen and the EEDI so i was really needing some help in this :)
best regards
Thanks again!
-
Good morning
I also dont understant why it jumps the else Claus.
Stefan can you give me a simple example how to use the and structure in this case, i already tried it before but it didnt work.
best regards
-
if (Lratio < 1)
Lfn.setvalue(Los)
elseif (Lratio >= 1.1)
Lfn.setvalue(1.0667*L)
else
Lfn.setvalue(L + (2/3)*(Los - L))
endif
For some reason for a Lratio =1.05, the code jumps the else command and attributes zero to Lfn.
Also if i would like to ask in another case if i would want to write something like this:
elseif( 1=<Lratio<1.1) .. could it be done like: elseif ( and ( Lratio>=1,Lration<1.1))
best regards
-
Hello! Sorry for the delay answering, had some hardware issues.
Thank you for your answer. But i already figured it out.
best regards
-
Hello,
Thanks for the answer. I will try that condition.
Anyway i just wanted to control the Flat of bottom curve restriction so that when i insert the keel plate i can have the upper boundry of the yy coord, limited by the yfob in the various sections of the ship hull.
Maybe i should send the model to you? what do you think?
regards
-
Hello once again,
I added a keel plate to the bottom of the hull controled by a simple parameter called HalfKeelWidth.
My problem is simple, how do i limit the value of this by the yfob parameter in order then when i add values to the parameter outsider the code it respect the bottom curve YY value.
I will place a bit of the code and give an exemple below:
//the Keel
bsplinecurve Keel([[x,0,0],[x,halfKeelWidth«YFOB,0]],1) // i thought initially that maybe i would have to do a if cicle, but is it possible somehow to do like this,
// the bottom
bsplinecurve bottom([Keel.getpos(1),[x,yfob,tan(deadrise)*yfob]],1)
-
Hi,
You can write arbitrary text files in features. The basic way to do so is:
FFile file("/path/to/the/file.txt") file.openWrite() file.write("This is written to the file.") file.writeLine("This is written to the file with a line break at the end.") file.close()You can take a look at the following features to see more complex examples (from the Feature menu):
Tools -> Write Blade Sections
Hull Design -> Connections -> Neptune -> Export SRI ...
Also take a look at the type documentation of FFile for a list of commands available for that type. Additionally the section "File Handling" on the "Global Commands" documentation page could be of interest for you.
Best regards
Hello!
Thank you! I will start right now.
regards
I will
-
Hello!
I wonder is there anyway that i can create a .txt with a previous input for all the parameters in my vessel design ?
best regards
-
Hey Carlos,
The first number defines the FUnsigned axis which could be x-,y- or z-axis and
the second number defines the FUnsigned plane for example: 'X-Y,Z', 'Y-X,Z', 'Z-XY'.
FUnsigned stands for a positive non-floating number which is 0, 1, 2, 3, .....
In your case:
section.getArea(2, 0) * 2
The '2' stands for the z-axis and the '0' for the "X-Y,Z" Plane and the resulting area is multiplied by two.
It is the area under the FCurve section in z-direction.
Does this solve your problem?
By the way all commands are listed in the documentation brower in the category global commands.
Regards
Karsten
Hi!
Thank you for your answer, i must admit it was a stupid question. After sometime i discovered it by my self.
Somehow i couldnt find the answer on the help resources so i decided to ask.
I am at the moment having some trouble to rewrite a new main frame following the containership tutorial, i will write here any following doubt.
Thank you once again
best regards
-
Hello
Could you please give a hint on the comand getarea presente on the parametric model of the container ship tutorial?
On the parameter of the área apears the following, section.getArea(2, 0) * 2. Its the calculation of the mid ship área but what does the 2, and the 0 means.
I read its unsigned axis but i couldnt really understand.
best regards
-
Hello Mr. Repolho,
Thanks for your interest.
The model I posted is to exemplify the usage of meta surface.
It gives you an idea in how to work with it.
It could be used as a hand to you to create your own model for instance.
TPO is just a parameter that can be varied by the user to visualize the transformation that is been done to the initial station that possibility the surface to be created. It is a "visualization tool" where you send the station To Position Of...
I hope it helps you to clear your doubts.
If you need any further support don't hesitate to contact me.
Regards,
HB
Hello, thanks for the answer
This is exacly what i will be doing. I am studying all your samples in order to understand how to generate a container vessel fully parametric.
This is one of the objective of my master thesis in naval architecture.
I will after create some features to calculate resistance and cargo volume capacity.
best regards
-
hello
I have been studying all day this example
I know what it means but what does it stand for?
TPO stands for?
best regards
thanks for this tutorial
-
Hey again !
I would like to ask if exists a reference guide, or a more complete user guide with something that could help on the programing language of the features.
I would later like to implemente the holltrop methot and to create some functions to reverse the modeling process.
Is it also possible to use dll file?
best regards
Thanks one more time for your time
-
I am sending the file again with some modifications.
Can i also change section curve directions?
Some how the surfasse is still wrong.. i need to show it to my Professor of the thesis and i am a bit stressed :s
thanks again Claus
-
Should i go back to Rhino to change dir? I think when i exported i already took that in consideration.. somehow i am not managing to do the stuff when i want with this software lol
I am not quitting !
Back after lunch!
thanks again
-
I managed to find out why this is not working and i think is because the direction of the sections... or in this case the origin surfaces had diferente normals.
I am finding a lot of resources on how to choose when executing a surface but in this case i would only want to change it.
How do i do that?
regards! :D
-
-
Yes sure!
I will also ask for help regarding the feature of offset data, which is giving some strange contours on FOB and others. The only curve which seems ok is FOB.
-
Thanks Claus !
I am so used to other programs that FF has been a real challenge ! i end up forgetting the basics.
I having a lot of trouble to import this RORO ship to framework. i am using section sweep also but i find it hard to close the bow and the Stern parts.
any tuturial or User guide on importing hulls please send me a link
thanks again!
-
Ok but for some reason they dont appear..
Isnt the default plane xx?
its the only parameter i am not defining, i also tried changing color but nothing happens.
thank you once again.

Skybackground, Render, animation
in Miscellaneous
Posted · Report reply
I worked perfecly thanks a lot! :)
Now i would like to take a snapshot but the pic comes purple.
Any solution?