← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Allow OpenCASCADE standard edition

 

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> On Behalf Of Seth Hillbrand
Sent: Monday, January 29, 2018 12:55 PM
To: KiCad Developers <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​

Attachment: nil.step
Description: nil.step


Follow ups

References