OSArch Community

[Topologic] Redefining BIM through Spatial Topology, Information, and Grammars

  1. P

    @brunopostle said:

    Basically, it is a 'package repository' in addition to the default fedora repositories, so it isn't intended for direct download, enable it like this:

    dnf copr enable bpostle/IfcOpenShell 

    Hi, thanks for your Copr works and I have been using it on Fedora.

    I have upgraded to Fedora 36 for a few weeks and would like to install the Topologic support. Is there any plan to include in the Copr the support for Fedora 36 ? Thanks :D

  2. B

    @paullee oops I forgot, fixed

  3. P

    @brunopostle said:

    @paullee oops I forgot, fixed

    Found and try using, just to report below :D

    • FreeCAD latest release 0.20 is still using Python 3.9

    • FC36 : Topologic-python3-0.0-0.20220131git.fc36.x86_64.rpm provides support to Python 3.10

    • FreeCAD does not find the Python 3.10 site package upon importing topologic

    • Now I use FC34 : Topologic-python3-0.0-0.20220131git.fc34.x86_64.rpm, which provide support to Python 3.9

    • And it works :D

    • Can support to Python 3.9 be also added ?

    Thanks

  4. B

    @paullee I'm packaging these as if they were normal fedora packages, so I'm linking to system libraries wherever possible, so on fedora 35 & 36 it is linked with python 3.10.

    So you can either force install the old rpm for 3.9 support, or use the portable version in the Homemaker add-on zip which has Topologic compiled for 3.7, 3.8, 3.9 and 3.10, or you can install a freecad snapshot built for fedora 36 and python 3.10 from this freecad fedora copr repository.

  5. T
  6. D

    @topologic does it make sense to keep this or have you considered just redirecting to this osarch forum?

    https://topologic.app/community/

    I just had a colleague posting internally wondering where the community was and where they could read about what people are using it for. This forum seems like the place for that.

  7. T

    @duncan said:

    @topologic does it make sense to keep this or have you considered just redirecting to this osarch forum?

    https://topologic.app/community/

    I just had a colleague posting internally wondering where the community was and where they could read about what people are using it for. This forum seems like the place for that.

    I agree. The community page on http://topologic.app never took off. These pages is where the discussion about Topologic is. When I have a few minutes, I will edit that web page to include a link to these pages. Thank you for the suggestion.

  8. D

    @topologic said:

    I agree. The community page on http://topologic.app never took off. These pages is where the discussion about Topologic is. When I have a few minutes, I will edit that web page to include a link to these pages. Thank you for the suggestion.

    Please feel free (encouraged) to use OSArch branding/logo and say something more general about what this OSArch project is about :-)

  9. D

    By-the-way ... I really think it's time to stop keeping the whole discussion of topologic in one thread. It's almost useless to anyone searching for a specific answer.

  10. T

    @duncan said:

    @topologic said:

    I agree. The community page on http://topologic.app never took off. These pages is where the discussion about Topologic is. When I have a few minutes, I will edit that web page to include a link to these pages. Thank you for the suggestion.

    Please feel free (encouraged) to use OSArch branding/logo and say something more general about what this OSArch project is about :-)

    This is done! Please check and let me know if you are happy with how it looks and what it says: https://topologic.app/community/

  11. T

    For those of you who have not yet heard :)

    pip install topologicpy

  12. N
  13. N
  14. T

    @paullee topologicpy works perfectly well in FreeCAD 0.20 on Windows. Here is what I did to make it work:

    import sys

    sys.path.append("path/to/the/top/folder/that/contains/topologicpy/")

    import topologicpy

    from topologicpy.Vertex import Vertex

    v = Vertex.ByCoordinates(10,20,30)

    print(Vertex.X(v), Vertex.Y(v), Vertex.Z(v))

    10 20 30

  15. P

    Hmmm, searched on my Fedora 36 and seems found it under .local/lib/python3.10/site-packages ...

    import sys

    sys.path.append("/home/paullee/.local/lib/python3.10/site-packages")

    import topologicpy

    Traceback (most recent call last):

    File "<input>", line 1, in <module>

    File "/home/paullee/Downloads/FreeCAD_weekly-builds-31391-2022-12-22-conda-Linux-x86_64-py310/squashfs-root/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import

    return original_import(name, *args, **kwargs)

    File "/home/paullee/.local/lib/python3.10/site-packages/topologicpy/init.py", line 16, in <module>

    import topologic

    File "/home/paullee/Downloads/FreeCAD_weekly-builds-31391-2022-12-22-conda-Linux-x86_64-py310/squashfs-root/usr/lib/python3.10> /site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import

    return original_import(name, *args, **kwargs)

    ImportError: /home/paullee/.local/lib/python3.10/site-packages/topologicpy/bin/linux/topologic/./libTopologicCore.so.0: undefined symbol: _ZN24BRepBuilderAPI_MakeShape5BuildEv

  16. T

    I am not a Linux expert, but it seems that the bundled version of topologic is not compatible with your system. If you can get your hands on a compiled and compatible version of topologic for Linux (eg from homemaker) just drop it in the bin/Linux/topologic folder inside topologicpy

  17. T

    One test would be to delete the files in bin/linux/topologic and try again. It might find the one you got working from homemaker

  18. P

    It seems:-

    1. FC_0.20, with Python 3.9 + Brunopostle's packages for Fedora 36

    = import topologic : OK

    1. FC_0.21_pre, with Python 3.10 + Brunopostle's packages for Fedora 36

    = import topologic : Not OK

    = import topologicpy : Not OK

  19. T

    @paullee said:

    It seems:-

    1. FC_0.20, with Python 3.9 + Brunopostle's packages for Fedora 36

    = import topologic : OK

    1. FC_0.21_pre, with Python 3.10 + Brunopostle's packages for Fedora 36

    = import topologic : Not OK

    = import topologicpy : Not OK

    What about import topologicpy with FC_0.20 with Python 3.9?

  20. B

    @paullee I'm> @paullee said:

    It seems:-

    1. FC_0.20, with Python 3.9 + Brunopostle's packages for Fedora 36

    = import topologic : OK

    1. FC_0.21_pre, with Python 3.10 + Brunopostle's packages for Fedora 36

    = import topologic : Not OK

    = import topologicpy : Not OK

    my rpms of blenderbim and topologic use the system python. freecad downloads come with their own python interpreter (like blender), surely?

  21. P

    @topologic said:

    What about import topologicpy with FC_0.20 with Python 3.9?

    It is not supposed to work - as it seems installed under python 3.10 ?

    /home/paullee/.local/lib/python3.10/site-packages/topologicpy

    However in FC 0.20 python console (using 3.9 python version), forcing it to look into python 3.10 location :-

    sys.path.append("/home/paullee/.local/lib/python3.10/site-packages")

    import topologicpy

    topologicpy.platform

    'linux'

    topologicpy.os

    <module 'os' from '/home/paullee/Downloads/FreeCAD-0.20.0-Linux-x86_64/squashfs-root/usr/lib/python3.9/os.py'>

    topologicpy.topologic.Vertex

    <class 'topologic.Vertex'>

    dir (topologicpy)

    ['builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'os', 'os_name', 'platform', 're', 'sitePackagesFolderName', 'sys', 'test1', 'topologic', 'topologicFolderName', 'topologicPath']

    No Vertex etc. directly under topologicpy, but under topologicpy.topologic ....

  22. P

    @brunopostle said:

    @paullee I'm>

    ...

    my rpms of blenderbim and topologic use the system python. freecad downloads come with their own python interpreter (like blender), surely?

    Thanks :D

    This is FC 0.20 screencapture -

    Below

    is FC 0.21 screencapture -

    To my understanding -

    Python 3.9 is in FC 0.20

    Python 3.10 is in FC 0.21_pre

  23. T

    @paullee did you try

    import topologicpy

    from topologicpy.Vertex import Vertex

    v = Vertex.ByCoordinates(10,20,30)

    print(v)

  24. P

    Yes it is working on FC 0.20 (importing 3.10 topologicpy in 3.9 python console) :-

    Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 17:07:55)

    [GCC 10.3.0] on linux

    Type 'help', 'copyright', 'credits' or 'license' for more information.

    sys.path.append("/home/paullee/.local/lib/python3.10/site-packages")

    import topologicpy

    from topologicpy.Vertex import Vertex

    v = Vertex.ByCoordinates(10,20,30)

    print(v)

    <topologic.Vertex object at 0x7f3b3c21a270>

  25. T

    @paullee Atleast it works under FC 0.20. It doesn’t matter if topologicpy was installed under python 3.10 because topologic has .pyd files for python 3.7 3.8 3.9 and 3.10

  1. Page 1
  2. 2
  3. 3
  4. 27
  5. 28
  6. 29
  7. 30
  8. 31

Login or Register to reply.