Jump to content

Mr. Carlos Repolho

Members
  • Content Count

    41
  • Joined

  • Last visited

Posts posted by Mr. Carlos Repolho


  1. 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


  2. 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


  3. 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


  4. "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!


  5. 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 

     

     

     


  6. 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)


  7. 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


  8. 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


  9. 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


  10. 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


  11. 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!

×
×
  • Create New...