No exactly the opposite, my skills with enthusiasm and good humor often
seem to backfire on me. I think the possibilities of visualising
"external" situations could be very powerful. I apologise Maurice if I
offended you, but the Raspberry pi has been a breath of fresh air to
me. As Apple slides down the path of "hands off my I/O" that it and MS
began in the late 80's they lose me more and more (they seem to be
taking minimalist I/O to extremes with only one "C" usb on their phones
(and laptops?)). While we don't have an ARM-RPi openSCAD just yet,
animating or recording events with openSCAD's drawing set would be
awesome. I use an Apache II based web server, USB/Serially interfaced
to an Arduino that intercepts and decodes my 433MHz weather sensors
(rain, wind speed, wind direction, temperature, humidity and air
pressure) the data gets collected every minute and the Python3 Cairo
library draws my graphs. All of this is on a Raspberry Pi3 running
Ubuntu-Mate.
Extending that to create .stl files that viewers could zoom, spin etc to
inspect would be really fantastic. My set up above is largely
constrained by the fact it was developed on an Intel Atom first and
hence the use of USB/Serial interface. However the R-Pi GPIO (General
Purpose Input Output) offers up so much more scope for other IoT ideas.
I am probably daydreaming, but I am happy to be proved wrong.
Rob
On 29/11/16 08:41, Maurice van Peursem wrote:
OK, automatically incorporate the date of design into the object then,
is that a more realistic scenario? But from your cynical reaction I
conclude the real time is not available. Pity.
Maurice
And pls take input from the IoT systems to model real time control
functions or sensory inputs (eg a barometer, or a weather house, or a
cuckoo clock Spring to mind as really basic ideas). My thoughts are
racing.... A tide clock, moon phases, solar panel capture .....
On 29 November 2016 7:01:09 am AEDT, Maurice van Peursem
openscad@vanpeursem.net wrote:
Is it possible to use the real time in a script? That would be useful
to animate a clock for instance.
Maurice
--
Rob Ward
Lake Tyers Beach, 3909
Lake Tyers Beach Website http://www.laketyersbeach.net.au
XP to XUbuntu http://www.laketyersbeach.net.au/XP2XU.html
its possible that vpython is what you want. (OpenGL-python in a realtime
wrapper).
Obviously it's not remotely openscad like - I just indicate it in case it is
what you're really looking for...
--
View this message in context: http://forum.openscad.org/Real-time-clock-tp19391p19403.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
That is very interesting, Neon22, I could probably use vpython myself
straight away for some things internally, however I was thinking more of
exporting .stl files onto the website and having a Thingiverse style
interface that the browsers could invoke to view it. I am probably
overly ambitious here at this stage. As an openSCAD fan, I would be
happiest seeing my App choice extended according to my wishes (aren't we
all?), however I am just giving the concept(s) some support to see what
the people who really know what openSCAD can do think of the potential.
I have no wish to encourage forks of the code, and also respect that
these things may require enormous amounts of perspiration and
inspiration to realise (far beyond my abilities).
There has been generations of students whose experience of computers has
been constrained by the MS/Apple view of what hardware and software
could do. (USB even saw the Gameport and Printer Port disappear!) The
Raspberry Pi takes me back to the world of the Kim-1 and Sym-1, where we
did not need a super clever mobile Phone with an App running, talking
WiFi or Bluetooth to a network stack to drive a REST implementation in
an Arduino to make an LED begin flashing. The possibilities with these
SBC and SOC architectures (RPi & ARM) has revitalised how we see
software directly interacting with the outside world. Tapping into this
with openSCAD (with all its inherent rendering power) just seemed a
powerful idea.
Rob
On 29/11/16 10:06, Neon22 wrote:
its possible that vpython is what you want. (OpenGL-python in a realtime
wrapper).
Obviously it's not remotely openscad like - I just indicate it in case it is
what you're really looking for...
--
View this message in context: http://forum.openscad.org/Real-time-clock-tp19391p19403.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Thanks Neon22, that was indeed a useful hint. I've looked at vPython
before, but because it is not actively developed anymore I rejected
it. But for the project I wanted to make it was ideal, also because I
can share it immediately. Glowscript also doesn't support the time
function, but you can use the javascript version. A simple clock
showing local time can then easily be made:
http://www.glowscript.org/#/user/varalflip/folder/Public/program/Clock
I'm now so used to OpenSCAD that it would have taken me less time to
write it in OpenSCAD, but Glowscript resembles the functionality
enough to make it a fairly easy job.
Rob, obviously no offence taken as your remark was meant seriously! I
should have read your post more carefully.
Maurice
its possible that vpython is what you want. (OpenGL-python in a realtime
wrapper).
Obviously it's not remotely openscad like - I just indicate it in case it is
what you're really looking for...