sketchucation logo sketchucation
    • Login
    1. Home
    2. chrisglasier
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Check out Febhouse | New extensions for Shadow Analysis in SketchUp Download
    chrisglasierC Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 103
    • Posts 1,032
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Spec Sheets and Cutting Lists

      @leedeetee said:

      Hi,

      Just wondering what the best way would be to produce tabulated information in Layout?

      Why would you want to do that?

      I remember once an Architect friend insisted on making a sanitary ware schedule on three A0 sheets. It took him more than three days. I was so annoyed with him, I had to completely redo his stuff on a spreadsheet so I could get bids and analyse them.

      Please in this so called Information Age think about what would suit following activities not just about submitting the fee account for a beautiful set of documents.

      posted in LayOut Discussions
      chrisglasierC
      chrisglasier
    • RE: Anyone here with a bit of a paunch belly?

      @3eighty said:

      bit of a paunch belly? ...Um. Define...

      I think it is something you keep in a corner cubby.

      posted in Corner Bar
      chrisglasierC
      chrisglasier
    • RE: Can i draw the whole building structure with code?

      @wdbao said:

      but i like doing it in the bare ruby code
      cause dynamic component is kinda slow
      try to calculate the steel inside a multi-span beam, say six spans
      you will need a super computer for that
      dynamic component certainly make sth more easy to do
      but i am looking for some methods so that i can automated my work

      I suggest you first review your understanding of the structure of coding in order to align your work to it. Think in terms of hierarchies of objects ... slabs, columns, beams ... beams, concrete, rebar ... then add qualifiers and activities as their properties/attributes/methods. You need to think about unique identities and navigation. You will need to automate your navigation as well as the devices that make the calculations and size and position the objects in Sketchup.

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: UI.start_timer Issues

      @thomthom said:

      Could be that the transformation done inside the timer block slows the iteration down to a point where you're getting a time close to what you expect.

      As this thread title seems to have morphed I want to ask other related questions.

      Is the timer different from an array because it does not call the next iteration until the transformation is complete?

      I am more concerned about sequence than precise timing. So would multiple transformations suffer/benefit from hardware efficiency equally - i.e. the sequencing will be correct?

      Thanks

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: HELP setting up a SU code editor

      Here's what I got in IE:

      pig 013.png

      and still access denied in FireBugLite

      So I don't know

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: UI.start_timer Issues

      It looks pretty close - I will check the mm tomorrow.


      pig 010.png


      pig 011.png

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: HELP setting up a SU code editor

      Thanks Dan I will try that and let you know (I'm at GMT + 8 btw)

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: UI.start_timer Issues

      Thanks I will overnight it (the verb)

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: UI.start_timer Issues

      @thomthom said:

      
      > t=Time.now; UI.start_timer(1.5, false) { puts Time.now - t }
      > 12546
      > 1.01
      > 
      > t=Time.now; UI.start_timer(0.5, false) { puts Time.now - t }
      > 12514
      > 0.02
      > 
      

      See - the timer does not wait for the full duration - instead round the interval down to a whole number.

      Well all I know is I used true (repeat) instead of false and the object moves 50 increments in 5 seconds.

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • UI.start_timer Issues

      @thomthom said:

      There's an issue with SU's timers - the interval is rounded down to whole integers. So anything below 1.0 will turn into 0.0 turning the timer into an instant loop.

      This not really about onKeyDown but about the assertion that I don't understand. Here is a callback that runs an object animation that seems (at least to me) to contradict it.

      
      
      @dlg.add_action_callback("move") {|d, p|
      		a = p.split(";")
      		entityNo =  Integer(a[0])
      		model = Sketchup.active_model
              entities = model.active_entities
              entity = entities[entityNo]
      		p entity.name
              selection = model.selection
              selection.clear
              selection.add entity
      		nr = Integer(a[1])
      		incr = Float(a[2]).mm
      		int = Float(a[3])		# int = 0.1
      		dur = Integer(a[4])		# dur = 5
      		model = Sketchup.active_model
      		entities = model.active_entities
      		entity = entities[entityNo]
      		mv = Geom;;Transformation.translation [0,incr,0]
      		clock = 0	
      		timer = UI.start_timer(int, true) {
      		clock += int
      		if clock < dur
      		entity.transform! mv
      		else 
      		UI.stop_timer timer
      		end
      	}
      
      

      Please tell me if I have missed something fundamental (I lost my sensitivity many years ago).

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: HELP setting up a SU code editor

      @dan rathbun said:

      ... but MSIE refuses.

      Thanks for all your suggestions, which I tried ... but as you said MSIE refuses. No FireBugLite at the end of the tunnel.

      Thanks again.

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: Can i draw the whole building structure with code?

      I have been thinking about this kind of thing on and off for sometime; maybe you will find these ideas interesting, even useful.

      Make a cube 1m x1m x 1m and make it a group. Name it "Concrete Mix A". Use some code that enables you to copy the cube, scale it to required dimensions and name it "Column 12" or whatever. The dimensions and xyz's could be physically input or from incoming digital criteria, say from an Architect or regulation, or directly from calculations or defined relationships. It could also be set up to calculate volumes, areas, weights and so forth in the background.

      I come from the more delicate side of the building industry but I have always wondered whether this kind of thing would be possible on the heavy side.

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: HELP setting up a SU code editor

      This relates to FireBugLite.

      Can anyone tell me why this happens:

      pig 006.png

      and how to change what so I can see the code.

      Thanks

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: Corner Cubby

      Will you be setting it to go back in time to show it to Richard?

      posted in Gallery
      chrisglasierC
      chrisglasier
    • RE: Corner Cubby

      Mayoral Tardis?

      posted in Gallery
      chrisglasierC
      chrisglasier
    • RE: Alternate API, Pioneers Wanted

      Link Preview Image
      SketchUp Ruby Code Editor • [as]

      This code editor extension offers an easy-to-use and visually appealing way to write and modify Ruby scripts directly within SketchUp. These scripts can then be used to create geometry, add functionality or add data within the SketchUp 3D modeling environment. The SketchUp Ruby API provides an extensive set of functions to automatize SketchUp in many ways or create scripted, computational geometry.

      favicon

      [as] (www.alexschreyer.net)

      posted in Developers' Forum
      chrisglasierC
      chrisglasier
    • RE: New London tower

      @alan fraser said:

      ... it simply lacks elegance.

      Most appropriately put.

      posted in Corner Bar
      chrisglasierC
      chrisglasier
    • RE: I need a free Note Camera Point script

      Well TIG at least I'm grateful for that

      posted in Plugins
      chrisglasierC
      chrisglasier
    • RE: [Plugin] cgScenesMAC v 2 April 2010

      I will ask him to do that.

      I know he is busy but he did mention he was thinking of some self extracting addition.

      Sorry I am mac clueless.

      posted in Plugins
      chrisglasierC
      chrisglasier
    • RE: New London tower

      @solo said:

      I dunno, with the 'Eye of London' and this 'Rollercoaster from hell', I am seeing a theme.

      The London Eye is a feat of engineering for profit from tourism, the tower is simply a piece of engineering for Mittal advertising.

      posted in Corner Bar
      chrisglasierC
      chrisglasier
    • 1
    • 2
    • 14
    • 15
    • 16
    • 17
    • 18
    • 51
    • 52
    • 16 / 52