https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
Happy Holidays
christmas tree
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: christmas tree
"fight the good fight"
Re: christmas tree
Merry Christmas 2020 !
Great to see the tree again
Great to see the tree again
Re: christmas tree
Thanks Willem. Like it very much. Could not resist and added some new link-snow-flakes made with PD-wb .
ps.: Did you know that you can use anti-aliasing in preferences-Display to get rid of the pixelated edges (See below)
- Attachments
-
- with anti-aliasing
- Xmastree.png (554.45 KiB) Viewed 1207 times
-
- X-mastree.FCStd
- with some artificial snow made in Austria
- (862.35 KiB) Downloaded 38 times
Re: christmas tree
In Austria you always have more snow than here in the Netherlands. I wish everybody the best wishes and a good health in 2021
Re: christmas tree
If you want to turn it, here is the script I used for Roland's tree. You need a directory /tmp/images where all images of the animated gif will be stored.
Everything that shouls be turned, i.e. here Sweep and Body005 have to be placed inside a Container named "Part".
You may add the snowflakes falling .
Code: Select all
# create a Part container of all stuff to be turned, it will be referenced by its name "Part"
from PySide import QtCore
#?? activeView = FreeCADGui.activeDocument().activeView()
doc = App.ActiveDocument
baum = doc.getObjectsByLabel("Part")[0]
baseBaum = baum.Placement.Base
fileCount = 0;
def turn(angle):
global fileCount
fileCount += 1
baum.Placement=App.Placement(baseBaum, App.Rotation(App.Vector(0,0,1),angle), App.Vector(0,0,0))
Gui.updateGui()
fileName = '/tmp/images/xmas%03d_%03d.bmp' % (fileCount,abs(angle))
Gui.activeDocument().activeView().saveImage(fileName,485,505,'Current')
angle=0
end = -360
timer = QtCore.QTimer()
# timeout = 25
# step = 1
# -----------
# timeout = 50
# step = 2
# -----------
timeout = 75
step = 3
# -----------
def update():
global angle
angle -= step
turn(angle)
if angle <= end:
# reset all to the origin and stop
# angle = 0
# turn(angle)
timer.stop()
doc.recompute()
timer.timeout.connect(update)
timer.start(timeout)
- Attachments
-
- SnipScreenshot-88fd96.png (359.97 KiB) Viewed 1103 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: christmas tree
Looks more like a happy new year after desinfecting the throats with some alcohol.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: christmas tree
My door seems harder to open, my stairs seem more wobbly, my driveway surface is less even, my driveway seems longer and more twisted, I made it to my mail box, checked it was empty walked back to the house sat down looked at my wife and realised she looks even more deliciously curvy than normal, and the room seems to sway a little ... but my throat is disinfected!
Re: christmas tree
As long as there is only one mailbox it's not too bad .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.