sketchucation logo sketchucation
    • Login
    1. Home
    2. MaryamR
    3. Topics
    ℹ️ 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 15
    • Posts 34
    • Groups 1

    Topics

    • M

      Find to which face a door belong

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      686 Views
      sdmitchS
      @maryamr said: thnx for your answer. there is a cases where a model can contain 2 windows linked to a door like the model below, but it doesn't appear using your code Seems rather odd to have windows connected to a door but then I'm no architect. It finds the door but it also thinks the door is a wall and the wall is a door because it has an edge that fits the door criteria, vertical and shorter than the adjoining face. ps. Files posted should be version 8 so that, the unfortunate ones like myself who don't have the latest Sketchup version, can view the model.
    • M

      Ruby API and Ruby classes

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      624 Views
      S
      It is entirely permissible and pretty common to devote one file to each class. However, if you do so you will need to put your files into your own subfolder of Plugins, because otherwise SketchUp will try to load all of the individual .rb files as it starts up, which is not what you need. Instead, you should have a master file that loads/requires the others as and when needed. Also, you should look into the SketchUpExtension class, as it provides a natural way to manage your code in SketchUp. And, above all, you should wrap all of your code inside your own personal module to prevent it from clashing with other plugins and extensions.
    • M

      Knowing that a face contains another face using Ruby API ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      924 Views
      M
      oh oky i understand now, thank you soo much this realy helped (y)
    • M

      Geocoder for Sketchup Ruby API

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      649 Views
      M
      No it's not built inside google map. i'm creating a model of a house that exists in real life, ad i write it's address in an inputbox. now i want to creat a plugin that shows the location of that house on google map based on the address i wrote .
    • M

      Installing mysql library

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      539 Views
      No one has replied
    • M

      Sketchup make

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      9
      0 Votes
      9 Posts
      1k Views
      M
      thank you so much guys
    • M

      Word/PDF Sketchup ruby API

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      909 Views
      M
      Hello, for those who are interested i found the solution to my question: i installed the Prawn library using the ruby console in sketchup : Gem.install("prawn") then i used this code to generate an example of a pdf file: require 'prawn' Prawn::Document.generate('C:\Users\laptop-acer01\Desktop\test.pdf') do text 'this is a test file' text 'end of file.' end
    • M

      Create an xml file using sketchup ruby API

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      1k Views
      M
      Thank you for your answer i did adjust my profile, and it's my first time using sketchup and sketchup ruby api and i'm supposed to deliver a projet using those two and i searched so much randomly as i didn't know the exact methode to search about
    • M

      Generate xml file using ruby sketchup

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      582 Views
      No one has replied
    • M

      Loading skp model

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      822 Views
      M
      yes that how i solved it full path and the number 7 that was displayed reffers to : SU_ERROR_SERIALIZATION if an error occurs during reading of the file thnx ^^
    • M

      Face Tilt and orientation

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      759 Views
      M
      What i'm looking for is the degree of the angle between the face (wall for example) and the red axe and have that angle degree for each face,for example face 1 20°, face 2 80° ...
    • M

      Face Tilt

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      10
      0 Votes
      10 Posts
      1k Views
      sdmitchS
      @maryamr said: i meant the code u suggested is it for Ruby or C/C++ SDK ? Ruby
    • M

      Getting faces orientation and tilt using SU C api

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      1
      0 Votes
      1 Posts
      304 Views
      No one has replied
    • M

      Extract some data like areas, facades orientations...

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      2
      0 Votes
      2 Posts
      337 Views
      S
      You could likely do what you need using the C/C++ SketchUp SDK, which can read and write the SketchUp file format. But there is no official support for C# or java as such. You would be on your own getting a bridge from those languages to the API working. The file format is proprietary and unpublished, so you could not legally roll your own API. SketchUp embeds a Ruby interpreter for extensions, and you could use that as well - though not as a standalone Ruby program. SketchUp would have to be running to execute the Ruby internally.
    • M

      Retrieve information from sketchup house model

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      1
      0 Votes
      1 Posts
      302 Views
      No one has replied
    • 1 / 1