sketchucation logo sketchucation
    • Login
    1. Home
    2. meeta
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 29
    • Groups 1

    Posts

    Recent Best Controversial
    • Industry Foundation Classes in SketchUp

      hello to people who love BIM and revit and archicad and Sketchup most importantly and such! This question is regarding exporting of IFC file format from sketchup so it can be used in the aforementioned softwares.. this is apparently called interoperability and I was curious to know if there is a plugin which allows me to export a 3D model in *.ifc file format!

      there is already a plugin which allows the import of .ifc files into sketchup, which can be downloaded here http://www.ohyeahcad.com/ifc2skp/index.php for free of charges.

      thank you for your time and help πŸ˜„

      posted in Developers' Forum
      M
      meeta
    • RE: Mathematics related problem

      @gruff said:

      Perhaps I am just a raw beginner myself but it appears that in his original snippet meeta is setting @M = bending.
      Shouldn't that be @M = result?

      yes your absolutely true.. i corrected that in my code and yet its showing the same results.. and besides if it were to be 0 then @M / 'anything ' = NaN? there is some problem there.. but I got a newer problem after sorting that out.. this is more interesting i reckon.. please have a look at this

      @b = 300
            @h = 280
            weight =((25.0*@b*@h) / 10**6)
            prompts = ["Variable Load(kN/m) ", "Permanent Load(kN/m) ", "Max Moment known(Nmm)"]
            loads = [0.0, 0.0, 0.0] #At this point enter 21, 50.1 and 0
            results = inputbox prompts, loads, "Loads apart from Self-weight/ Or if moment is known, Please enter"
            variable_load, permanent_load, moment = results
      		
      		if (moment != 0) 
      			@M = moment
      		else
      			uls = (1.35*variable_load + 1.5*permanent_load + 1.5*weight)*@length
      			UI.messagebox(@M)
      			UI.messagebox(weight)
      			UI.messagebox(results)
      			@M = 0.11*uls*@length 
      			@shear = 0.60 * uls 
      			UI.messagebox(uls)
      			UI.messagebox(@M)
      		end
      	
      

      I don't know why, the weight that it should be showing is 2.1, but its showing 0.0032 something at the very beginning of the code.. its really taking a toll on me now! I know that many UI boxes is absolutely silly but that's my way of debugging because I know no other way! pls recommend any other method for debugging!

      posted in Developers' Forum
      M
      meeta
    • RE: Mathematics related problem

      yes i can see what you mean.. this is confusing for me.. I will do some experiments and figure it out! thank you fellows πŸ˜„

      posted in Developers' Forum
      M
      meeta
    • RE: Mathematics related problem

      OMG i misquoted again... sorry about that
      yes it is supposed to come
      @K = 0.07870

      posted in Developers' Forum
      M
      meeta
    • RE: Mathematics related problem

      sorry I missed this part out

      @b = 300
      @d = 600
      @fck = 40

      which should give me @K = 0.089 instead of 1.99

      posted in Developers' Forum
      M
      meeta
    • RE: (request) What I (personally) would love for SU

      What I would like for sketchup is an output box type of thing, where say I am drawing something, I would like to see the code version of me drawing a line as well as draw the line. That way I get a better understand of how components, selecting and etc works.. I think it would be a good idea!

      posted in Developers' Forum
      M
      meeta
    • Mathematics related problem
      	prompts = ["Enter the bending moment" ]
      		bending = [0.mm]
      		results = inputbox prompts, bending, "Analyse Beam"
      		@M = bending
      		# Enter @M = 340000000 at this point for testing
      		@K = ((@M).to_f / (@b*(@d**2)*@fck))
      		
      		UI.messagebox (@K)
      
      

      when I do this in sketchup,
      I am getting @K = 1.9999

      I dont understand I put UI.messagebox for all values they are fine, when I run the same code in IRB its still fine. I have tried several other options changed the order here and there still stuck!

      I have another question, instead of using [0.mm] can I use anything else? It should actually be Nmm, how can I make that appear on sketchup message box?

      posted in Developers' Forum
      M
      meeta
    • RE: Newbie help - getting dimensions of a simple object

      wow bounding box is such a neat thing.. thanks for pointing it out!!

      posted in Developers' Forum
      M
      meeta
    • Newbie help - getting dimensions of a simple object

      Hi there!
      I have a write a big code and I am a ruby newbie.. i have done some fair amount of c++..

      i have drawn up a cuboid, i have to do some calculations on it..
      basically i have programmed it so far, i right click on the group and i should get dimensions of the object.. i just want to know what class to use..

      to honest i've spent the last week on the google sketchup api website.. i have no clue what to use..

      thanks for your help
      Cheers!

      posted in Developers' Forum
      M
      meeta
    • 1 / 1