← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Allow OpenCASCADE standard edition

 

I’m using OCCT 7.2.0. I’ve also tried from the master branch.  Both built with MSVC.
I’m able to export using OCE just fine.  With OCE, I do get missing model messages when using
kicad2step from command line.  I hadn’t tried it from the command line before with OCE, so the
output from the prior message is probably not relevant.

-Thomas



From: Seth Hillbrand<mailto:seth.hillbrand@xxxxxxxxx>
Sent: Thursday, February 1, 2018 12:15 PM
To: Thomas Figueroa<mailto:tom_figueroa@xxxxxxxxxxx>
Cc: kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Kicad-developers] [PATCH] Allow OpenCASCADE standard edition

Hi Thomas-

Thanks for testing!  Couple questions:
- Which version of OCCT are you testing?
- Are you able to correctly export the board when using OCE?
- Do you not see the missing model messages when using OCE?

-Seth

2018-01-31 19:04 GMT-08:00 Thomas Figueroa <tom_figueroa@xxxxxxxxxxx<mailto:tom_figueroa@xxxxxxxxxxx>>:
Hello Seth,

I’ve had the opportunity to test this on Windows (MSVC, but I’ve had the same issue with MSYS2).
STEP models work great in the 3D viewer, and in the footprint module editor, just as in OCE.
Unfortunately, I cannot get the STEP export to work. I’ve had a run at using OpenCascade before
and encountered this exact same issue. As an example, I’ve attached an outputted file.
The following output is from the command line kicad2step:

20:31:07: C:\dev\kicad-personal\utils\kicad2step\pcb\oce_utils.cpp: fileType: 163
  * no such file: ''

20:31:07: C:\dev\kicad-personal\utils\kicad2step\pcb\oce_utils.cpp: PCBMODEL::AddComponent: 574
  * no model for filename for ‘’

This repeats for every model. If you have any ideas, I’d be very willing to try them out.

- Thomas

From: Kicad-developers <kicad-developers-bounces+tom_figueroa=hotmail.com@xxxxxxxxxxxxxxxxxxx<mailto:hotmail.com@xxxxxxxxxxxxxxxxxxx>> On Behalf Of Seth Hillbrand
Sent: Monday, January 29, 2018 12:55 PM
To: KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
Subject: [Kicad-developers] [PATCH] Allow OpenCASCADE standard edition

​Hi All-

Currently, the build requires the opencascade community edition.  For various reasons, I need to have the current non-community edition of OpenCASCADE installed on my work machine.

The attached patch allows compiling KiCad with either the OpenCASCADE community edition or standard edition.

I've tested on a homebrew-based Mac install as well as Linux but haven't verified MSW, if someone would be willing to test it there, that would be great!  The basic search routines are lightly modified from FreeCAD's logic and keep their LGPL copyright on the CMake file.

-Seth​




References