Awesome.HakanSeven12 wrote: ↑Sat Apr 27, 2019 12:49 pm Yes I think you can use red as default color of alignment
I will test it with my other alignments
Civil engineering feature implementation (Transportation Engineering)
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Civil engineering feature implementation (Transportation Engineering)
When I create new project in your wb its change my unit to imperial.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
Ah. Right. That's the default.HakanSeven12 wrote: ↑Sat Apr 27, 2019 1:06 pm When I create new project in your wb its change my unit to imperial.
You don't need to use that button. I haven't really decided if it's necessary. It just auto-creates groups and (obviously) sets the document units.
At this point, I'm thinking about removing it. I'm also open to other ideas, too. I really don't know if it's helpful to have a "new project" function.
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Civil engineering feature implementation (Transportation Engineering)
Okey. Another thing I cant change Seg Value. My curve segments are 80m. When I change the value nothing happen.Joel_graff wrote: ↑Sat Apr 27, 2019 1:09 pm Ah. Right. That's the default.
You don't need to use that button. I haven't really decided if it's necessary. It just auto-creates groups and (obviously) sets the document units.
At this point, I'm thinking about removing it. I'm also open to other ideas, too. I really don't know if it's helpful to have a "new project" function.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
That's really odd. I've never had it fail. No errors in the Report View?HakanSeven12 wrote: ↑Sat Apr 27, 2019 1:14 pm Okey. Another thing I cant change Seg Value. My curve segments are 80m. When I change the value nothing happen.
Have you tried changing the segment method? I typically switch it to Interval and 10m or something... (I have to come up with better names for this stuff...)
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Civil engineering feature implementation (Transportation Engineering)
When I changed the method, aligment segments are chancing but still seg value broken.Joel_graff wrote: ↑Sat Apr 27, 2019 1:17 pm That's really odd. I've never had it fail. No errors in the Report View?
Have you tried changing the segment method? I typically switch it to Interval and 10m or something... (I have to come up with better names for this stuff...)
Code: Select all
C:/Users/Hakan/Desktop/FreeCAD Data/Manisa.xml
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
utils.within_tolerance() - empty item list
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
Yeah, that doesn't mean anything. Actually, not sure why that's happening, but mostly it's a harmless diagnostic.
I've brought your XML file in and changed the Segment method and values and it works perfectly.
You could try adding print statements to the onChanged callback in freecad.trails/alignment/alignment.py - that would at least tell you if it's getting called.
Otherwise, unless I can reproduce the error (or you can spot an error message somehwere), I don't know what to say...
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
Can you get it to work in in any case? I mean, just import your XML alignment into a new document and try that.HakanSeven12 wrote: ↑Sat Apr 27, 2019 1:19 pm When I changed the method, aligment segments are chancing but still seg value broken.
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Civil engineering feature implementation (Transportation Engineering)
Its working odd. When I change the value and hit the enter its never work but if I change the value and click to drawing without enter its work.Joel_graff wrote: ↑Sat Apr 27, 2019 1:43 pm Can you get it to work in in any case? I mean, just import your XML alignment into a new document and try that.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Civil engineering feature implementation (Transportation Engineering)
Some Seg Value inputs and segments length.
0.1------15.53
1.0------48.97
10-------153.59
0.1------15.53
1.0------48.97
10-------153.59
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum