Is it possible to configurate OpenScad in such a way that miniature pictures
which are store in a folder are visualized in the pictograms when opening a
map. An example of such an option is shown in SketchUp. It would be a very
helpfull option to search for a specifik drawing.
--
View this message in context: http://forum.openscad.org/miniature-drawing-in-pictogram-tp21186.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
In simple terms, no. SCAD files are plain text. The feature where you see
pictograms would require that a (binary) preview of the item be stored
inside the SCAD file, and there's no feature for that.
--
View this message in context: http://forum.openscad.org/miniature-drawing-in-pictogram-tp21186p21193.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On 04/11/2017 06:07 PM, stonysmith wrote:
In simple terms, no. SCAD files are plain text. The feature
where you see pictograms would require that a (binary) preview
of the item be stored inside the SCAD file, and there's no
feature for that.
In theory it could just try running a preview evaluation. So
I don't see any technical issue as such apart from the possible
high load it could cause. I don't know how different platforms
handle that. It might not work for all files though, especially
if those are not self contained.
I don't think it's possible to do with the current application
(except maybe on Linux?) without code changes and maybe even
need for special installation.
ciao,
Torsten.
It should be a feature in the SCAD program. This is also the case in
SketchUp. The miniature drawings are only visible when the map is opened in
the program. I hope the programmers will build in this option at some time
in SCAD, also.
--
View this message in context: http://forum.openscad.org/miniature-drawing-in-pictogram-tp21186p21196.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
In theory it could just try running a preview evaluation.
If the SCAD loads a number of STLs or computes a complicated minkowski, I've
got items that even on just F5 run for over an hour. Such a "preview
evaluation" on a large directory of models would be intolerably slow. The
only way to do it "efficiently" is store a thumbnail in the file.. adding
complexity to the format. (it would need to be stored in a binary format)
--
View this message in context: http://forum.openscad.org/miniature-drawing-in-pictogram-tp21186p21197.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Apr 11, 2017, at 16:51, merallas tensorial@live.com wrote:
It should be a feature in the SCAD program.
Yep, I think that, at least on Mac, it’s pretty easy to modify an icon once a file is saved and we happen to have a bitmap lying around.
To make it work multi-platoform is probably pretty annoying, but we could simply implement something like this whenever someone with platform knowledge and motivation wants to give it a shot. Could be a good task for new developers with strong platform skills.
-Marius
On 12/04/17 00:44, stonysmith wrote:
(it would need to be stored in a binary format)
nah, an embedded image in an email is not sent binary... but rather base64
but then that doesn't solve problems with integrating actual image
retrieval with the different mechanisms different platforms have for
generating previews.... (a problem you'd still have if it was embedded
binary)
likely a thundering pita and also likely permanently broken on some
platforms depending on how the end user chooses to set up their machine...
And than someone wants to have his/her preview rotated and scaled a certain
way. How to implement that?
2017-04-12 9:20 GMT+02:00 Mr C Camacho chris@bedroomcoders.co.uk:
On 12/04/17 00:44, stonysmith wrote:
(it would need to be stored in a binary format)
nah, an embedded image in an email is not sent binary... but rather base64
but then that doesn't solve problems with integrating actual image
retrieval with the different mechanisms different platforms have for
generating previews.... (a problem you'd still have if it was embedded
binary)
likely a thundering pita and also likely permanently broken on some
platforms depending on how the end user chooses to set up their machine...
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org