Pysolar with Arch Site
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Pysolar with Arch Site
In git commit 8987bd1df I re-added support for older pysolar, one never knows...
Re: Pysolar with Arch Site
This will still not work with older Pysolar 0.6, as the methods are differently named. The different functions need to be included inside the if oldversion statement.yorik wrote: ↑Sat May 11, 2019 2:06 am In git commit 8987bd1df I re-added support for older pysolar, one never knows...
Pysolar 0.7 and above (Python 3) [snake_case]
Code: Select all
alt = math.radians(pysolar.solar.get_altitude_fast( . . . ))
az = pysolar.solar.get_azimuth( . . . )
Code: Select all
alt = math.radians(Pysolar.solar.GetAltitudeFast( . . . ))
az = pysolar.solar.GetAzimuth( . . . )
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Pysolar with Arch Site
Thanks, you have a keen eye Fixed in git commit c05bc0990
Re: Pysolar with Arch Site
Hello,
silly question, but is this working with appimage?
cause I have pysolar installed, but it says it cannot find it.
I guess due to appimage
silly question, but is this working with appimage?
cause I have pysolar installed, but it says it cannot find it.
I guess due to appimage
-
- Posts: 594
- Joined: Wed Aug 12, 2020 1:24 am
Re: Pysolar with Arch Site
Could you guys share a tutorial for test this? Look very interesting
Re: Pysolar with Arch Site
I tried pip install pysolar, it installs. But import pysolar in FC console return error ... I thought I had once make it works ... Appimage on Fedora 30
Anybody ?
Re: Pysolar with Arch Site
I believe yorik ported this to ladybug tools over pysolar. Need to find the link though
edit: just a reference not a direct link
https://forum.freecadweb.org/viewtopic. ... ug#p438784
edit2: on his blog: https://yorik.uncreated.net/blog/2020-008-freecad-may (search 'ladybug')
edit: just a reference not a direct link
https://forum.freecadweb.org/viewtopic. ... ug#p438784
edit2: on his blog: https://yorik.uncreated.net/blog/2020-008-freecad-may (search 'ladybug')
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs