Good day!
Where can I download SketchUp SDK last 32-bit version?
Probably this one: "2015 November 17: API Version 4.0 - SketchUp 2016 M0"
Latest posts made by AlexMozg
-
SketchUp SDK last 32-bit version
-
How to get near and far clipping plane of view?
How to get near and far clipping plane of view?
These values are displayed in the Camera dialog box.
(Sketchup.send_action 10624)
If impossible to get the exact values, then how to calculate these values approximately? -
RE: [Plugin] Set Arc and Circle Defaults
Without "EventRelay.dll"
Safer to use the method "send_action" to activate the tool, because that hot keys of these tools can be modified.require 'sketchup.rb' unless file_loaded?(file_name = File.basename(__FILE__)) Kernel.require 'win32ole.so' wscript = WIN32OLE.new("WScript.Shell") Sketchup.send_action "selectCircleTool;" UI.start_timer(0, false){ for key in %w|12 {ENTER}| ; wscript.SendKeys key; end UI.start_timer(0, false){ Sketchup.send_action "selectArcTool;" UI.start_timer(0, false){ for key in %w|6 {ENTER}| ; wscript.SendKeys key; end UI.start_timer(0, false){Sketchup.send_action "selectSelectionTool;"} } } } file_loaded(file_name) end
-
RE: Bug with TAB character in menu (SU8)
@unknownuser said:
...
Did you log a bug to the SU Site or should I do it?
FredoYou can do it, because I don't know how to do it.
-
RE: Bug with TAB character in menu (SU8)
Fredo6
I noticed this a long time.
See my topic (item 2):
http://forums.sketchucation.com/viewtopic.php?f=180&t=30583 -
RE: [Plugin] Very fast texture writer
bentleykfrog and all!
This code is even faster than the code with used temp face if the Outliner window is open.
It is better to create an empty group, rather than create face and then remove its edges:def quickly_tw(operation=true) model = Sketchup.active_model tw = Sketchup.create_texture_writer # Iterate through materials, assign to face, load in tw model.start_operation "texture;)" if operation gr = model.entities.add_group model.materials.each do |mat| if mat.texture gr.material = mat tw.load(gr) end end # Output textures tw.write_all(File.dirname(Sketchup.active_model.path) + "/", false) model.abort_operation if operation end
And also and if by chance the temp face with the same coordinates is already defined in the model? Can this happen?
Thank you bentleykfrog -
RE: SketchUp 8 Bugs & Troubles!
@tig said:
Why do you use so many '3d Polylines' ?
I can't see any benefit in using them for many of the edges you have in your example SKP ??3D polylines are slightly extend the capabilities of the drawing.
I use them when necessary so that the edges and curves were with thickness (profiles > 2 in style of drawing), and 3D polylines are thin.
File with an example (in my post above) - is only an example of 3D Polylines and not an example of my work. -
RE: SketchUp 8 Bugs & Troubles!
@unknownuser said:
The 'numbers' for the stipples have probably changed that's all - we need a new list ?
No, the numbers remained the same, it can be verified at the time of insertion of these clines (Ctrl + C, Ctrl + V)
@unknownuser said:
I CAN select a polyline [curve] using the correct mouse-clicks and by a fence [right-left] so some part of it is inside that fence...
Not polyline [curve] and the 3D polyline!!! Look at the attached file.
-
RE: SketchUp 8 Bugs & Troubles!
Yes, it is undocumented stipples, but they worked to Sketchup 7 inclusively.
"nil" printed to the ruby console if there are assigned hot keys on the user tools allocated in the shortcut menu. Like so... -
RE: SketchUp 8 Bugs & Troubles!
@tig said:
I'm confused by your 4.1
I have no problems with selecting 3D polylines etc... can you expand on the problem?I can't select normally a 3D polyline with one or double mouse click or the intersecting frame, only if all 3D polyline is inside in frame, but contextual menu not probably to see - current selection is empty.
@unknownuser said:
...I've never seen them before - and therefore I've never used them...
cline.stipple always returns the number of stipple
cline.stipple= also takes the values as Integer
And it turned out that the stipple of cline can be varied over a very wide range.
Unfortunately now it's not ...