Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI support for creating CrossSectionLocationFile #39

Open
kdberends opened this issue Oct 14, 2022 · 0 comments
Open

Add CLI support for creating CrossSectionLocationFile #39

kdberends opened this issue Oct 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@kdberends
Copy link
Member

FM2PROF support creating a cross-section location file from a NetworkDefinition.ini file. However, at the moment it is only supported using the Python API:

"""
This function is not yet supported by the CLI (exe) in version 2.2.2
"""

from fm2prof.utils import GenerateCrossSectionLocationFile
from pathlib import Path

base_path = Path(r".")
GenerateCrossSectionLocationFile(networkdefinitionfile=base_path.joinpath("NetworkDefinition.ini"),
crossectionlocationfile=base_path.joinpath("cross_section_locations_j19_6_v2.xyz"),
branchrulefile=base_path.joinpath('branchRules_j19_v2.ini'))

@kdberends kdberends added the enhancement New feature or request label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant