POV-Ray : Newsgroups : povray.general : Two plugins of mine for SketchUp Server Time
29 Jun 2025 08:24:07 EDT (-0400)
  Two plugins of mine for SketchUp (Message 1 to 1 of 1)  
From: GioSeregni
Subject: Two plugins of mine for SketchUp
Date: 18 Jun 2025 19:55:00
Message: <web.68535114bf771db5eeec206c59126100@news.povray.org>
1 . STL2SkUp.rb  (STL ASCII importer)
2 . SkUp2Ray.rb  (por and inc export)

These plugins are only tested on SketchUp 8 and SkUp Make 2017, the latest free
versions.
These two versions are still found by searching the web. The 8, in my opinion,
does the same things but is much lighter.
You don't need to install them, just copy them to the right folders and SkUp
will present the commands added to the File menu.
However, the folders on the two versions change.

SkUp 8 is easy
SketchUp\Plugins

A bit complicated SkUp Make 2017
....Users\YOURNAMEFOLDER\AppData\Roaming\SketchUp\SketchUp 2017\SketchUp\Plugins

At your risk but the plugins are absolutely clean (you can read yhe PLANE TEXT)

NOTE: the plugin for STL has a lot of code about colors, but the ASCII STL have
no colors. And binary STLs have a palette reduced to a subset of the truecolors.
For this reason I developed an addition in the ascii STLs to have colors and
transparency.
This addition does not cause problems for STL programs, they will ignore the
colors of the ascii STLs.
Soon I will present my parser to store colors in ascii STLs.
For now, maybe it is useful to someone, to load the STLs from the web (I
RECOMMEND ASCII), then color them as you like or modify them in SkUp, and then
generate the POV and/or INC files.
To be improved as you want.

NOTE 2 -
STL loading is VERY slow, see the counter at win bottom, but it's not my fault,
POV or INC saving is very fast instead
If you minimize SkUp while charging, it stops the counter in the status line.
But it's just a SkUp bug in the status, it keeps charging.
BR.
G.


Post a reply to this message


Attachments:
Download 'skup2ray.zip' (5 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.