discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

User Poll: What do you want to see from OpenSCAD development?

HL
Hans L
Mon, Dec 2, 2019 8:48 PM

On Mon, Dec 2, 2019 at 10:48 AM Max Bond max.o.bond@gmail.com wrote:

For instance right now I'm working on a library for doing affine
transforms on points/paths, to help me build up objects for use with
polyhedron().

Hi Max, not sure how much of this you've already implemented, but I have a
library for essentially the same purpose, here:
https://github.com/thehans/FunctionalOpenSCAD

It doesn't compose matrices, and was written before (still experimental)
first class function support, but maybe some of the code will still be
useful for you.

On Mon, Dec 2, 2019 at 10:48 AM Max Bond <max.o.bond@gmail.com> wrote: > For instance right now I'm working on a library for doing affine > transforms on points/paths, to help me build up objects for use with > polyhedron(). > Hi Max, not sure how much of this you've already implemented, but I have a library for essentially the same purpose, here: https://github.com/thehans/FunctionalOpenSCAD It doesn't compose matrices, and was written before (still experimental) first class function support, but maybe some of the code will still be useful for you.
MB
Max Bond
Mon, Dec 2, 2019 9:40 PM

Thanks Hans, I'll check that out!

On Mon, Dec 2, 2019, 1:50 PM Hans L thehans@gmail.com wrote:

On Mon, Dec 2, 2019 at 10:48 AM Max Bond max.o.bond@gmail.com wrote:

For instance right now I'm working on a library for doing affine
transforms on points/paths, to help me build up objects for use with
polyhedron().

Hi Max, not sure how much of this you've already implemented, but I have a
library for essentially the same purpose, here:
https://github.com/thehans/FunctionalOpenSCAD

It doesn't compose matrices, and was written before (still experimental)
first class function support, but maybe some of the code will still be
useful for you.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Thanks Hans, I'll check that out! On Mon, Dec 2, 2019, 1:50 PM Hans L <thehans@gmail.com> wrote: > > On Mon, Dec 2, 2019 at 10:48 AM Max Bond <max.o.bond@gmail.com> wrote: > >> For instance right now I'm working on a library for doing affine >> transforms on points/paths, to help me build up objects for use with >> polyhedron(). >> > > Hi Max, not sure how much of this you've already implemented, but I have a > library for essentially the same purpose, here: > https://github.com/thehans/FunctionalOpenSCAD > > It doesn't compose matrices, and was written before (still experimental) > first class function support, but maybe some of the code will still be > useful for you. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
W
WillAdams
Sun, Dec 22, 2019 6:50 AM

The thing which I'd really like to see is a mode where OpenSCAD is a
Workbench in FreeCAD --- model in OpensCAD using the language, then switch
to the drawing/edit view and be able to adjust things
graphically/interactively which would update the parameters of the code (for
bonus points, modifications/additions would be instantiated as new OpenSCAD
code).

William

--
Sent from: http://forum.openscad.org/

The thing which I'd really like to see is a mode where OpenSCAD is a Workbench in FreeCAD --- model in OpensCAD using the language, then switch to the drawing/edit view and be able to adjust things graphically/interactively which would update the parameters of the code (for bonus points, modifications/additions would be instantiated as new OpenSCAD code). William -- Sent from: http://forum.openscad.org/
R
richalt2
Fri, Jan 31, 2020 7:20 PM

Belatedly I will kick in:

  1. multi-threading for performance!
  2. I would love to get access to the pixel data in surface(), both greyscale
    and RGB!!  And not have surface() produce an object.  Just the data
    please.

--
Sent from: http://forum.openscad.org/

Belatedly I will kick in: 1. multi-threading for performance! 2. I would love to get access to the pixel data in surface(), both greyscale and RGB!! And *not* have surface() produce an object. Just the data please. -- Sent from: http://forum.openscad.org/
MK
Marius Kintel
Fri, Jan 31, 2020 8:12 PM

On Jan 31, 2020, at 20:20, richalt2 via Discuss discuss@lists.openscad.org wrote:

  1. I would love to get access to the pixel data in surface(), both greyscale
    and RGB!!  And not have surface() produce an object.  Just the data
    please.

I don’t quite understand this wish: surface() is a module that takes pixel data as input and generates a shape, so if you just look at your input, that’s pixel data right there.

-Marius

> On Jan 31, 2020, at 20:20, richalt2 via Discuss <discuss@lists.openscad.org> wrote: > > 2. I would love to get access to the pixel data in surface(), both greyscale > and RGB!! And *not* have surface() produce an object. Just the data > please. > I don’t quite understand this wish: surface() is a module that takes pixel data as input and generates a shape, so if you just look at your input, that’s pixel data right there. -Marius
R
richalt2
Fri, Jan 31, 2020 8:31 PM

Marius, yes I use surface() sometimes.  To get pixel data I presently run a
python script which outputs an openscad list containing the RGB data, into a
.txt  file.  Then include the .txt.
Can I avoid or automate the python run?  Can you offer a snippet of openscad
code which shows echo(some rgb data from a .png file) ?
Thanks!!
Rich


richalt2  (so why does the forum show me as OpenSCAD mailing list?)
Rich Altmaier

--
Sent from: http://forum.openscad.org/

Marius, yes I use surface() sometimes. To get pixel data I presently run a python script which outputs an openscad list containing the RGB data, into a .txt file. Then include the .txt. Can I avoid or automate the python run? Can you offer a snippet of openscad code which shows echo(some rgb data from a .png file) ? Thanks!! Rich ----- richalt2 (so why does the forum show me as OpenSCAD mailing list?) Rich Altmaier -- Sent from: http://forum.openscad.org/
MK
Marius Kintel
Fri, Jan 31, 2020 10:22 PM

Thanks for the explanation. I understand your use-case and request now.
Running an external script is probably the best solution right now.

-Marius

On Jan 31, 2020, at 21:31, richalt2 via Discuss discuss@lists.openscad.org wrote:

Marius, yes I use surface() sometimes.  To get pixel data I presently run a
python script which outputs an openscad list containing the RGB data, into a
.txt  file.  Then include the .txt.
Can I avoid or automate the python run?  Can you offer a snippet of openscad
code which shows echo(some rgb data from a .png file) ?
Thanks!!
Rich

Thanks for the explanation. I understand your use-case and request now. Running an external script is probably the best solution right now. -Marius > On Jan 31, 2020, at 21:31, richalt2 via Discuss <discuss@lists.openscad.org> wrote: > > Marius, yes I use surface() sometimes. To get pixel data I presently run a > python script which outputs an openscad list containing the RGB data, into a > .txt file. Then include the .txt. > Can I avoid or automate the python run? Can you offer a snippet of openscad > code which shows echo(some rgb data from a .png file) ? > Thanks!! > Rich
C
caterpillar
Mon, Feb 10, 2020 6:23 AM
maybe things like this? <http://forum.openscad.org/file/t1825/photo_sphere.jpg> source code: https://github.com/JustinSDK/dotSCAD/blob/master/examples/photo_sphere.scad ----- https://openhome.cc -- Sent from: http://forum.openscad.org/
C
caterpillar
Mon, Feb 10, 2020 6:32 AM
maybe things like this? <http://forum.openscad.org/file/t1825/photo_sphere.jpg> source code: https://github.com/JustinSDK/dotSCAD/blob/master/examples/photo_sphere.scad ----- https://openhome.cc -- Sent from: http://forum.openscad.org/
C
caterpillar
Thu, Feb 20, 2020 6:44 AM

More examples when you can get pixel data ....

http://forum.openscad.org/file/t1825/ex.jpg


https://openhome.cc

Sent from: http://forum.openscad.org/

More examples when you can get pixel data .... <http://forum.openscad.org/file/t1825/ex.jpg> ----- https://openhome.cc -- Sent from: http://forum.openscad.org/