Unhide the Altium schematic importer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8069
This commit is contained in:
parent
5ae54c1610
commit
7dd6a182f2
|
@ -139,11 +139,6 @@ static const wxChar MaxTrackLengthToKeep[] = wxT( "MaxTrackLengthToKeep" );
|
|||
*/
|
||||
static const wxChar StrokeTriangulation[] = wxT( "StrokeTriangulation" );
|
||||
|
||||
/**
|
||||
* When true, enable Altium Schematic import (*.SchDoc)
|
||||
*/
|
||||
static const wxChar PluginAltiumSch[] = wxT( "PluginAltiumSch" );
|
||||
|
||||
/**
|
||||
* Absolute minimum pen width to send to the plotter. PDF seems happy enough with 0.0212mm
|
||||
* (which equates to 1px @ 1200dpi).
|
||||
|
@ -253,7 +248,6 @@ ADVANCED_CFG::ADVANCED_CFG()
|
|||
m_MaxTangentAngleDeviation = 1.0;
|
||||
m_MaxTrackLengthToKeep = 0.0001;
|
||||
m_DrawTriangulationOutlines = false;
|
||||
m_PluginAltiumSch = false;
|
||||
|
||||
m_ExtraClearance = 0.0001;
|
||||
m_DRCEpsilon = 0.0001; // 0.1um is small enough not to materially violate
|
||||
|
@ -347,9 +341,6 @@ void ADVANCED_CFG::loadSettings( wxConfigBase& aCfg )
|
|||
configParams.push_back( new PARAM_CFG_BOOL( true, AC_KEYS::StrokeTriangulation,
|
||||
&m_DrawTriangulationOutlines, false ) );
|
||||
|
||||
configParams.push_back( new PARAM_CFG_BOOL( true, AC_KEYS::PluginAltiumSch,
|
||||
&m_PluginAltiumSch, false ) );
|
||||
|
||||
configParams.push_back( new PARAM_CFG_DOUBLE( true, AC_KEYS::MinPlotPenWidth,
|
||||
&m_MinPlotPenWidth, 0.0212, 0.0, 1.0 ) );
|
||||
|
||||
|
|
|
@ -680,8 +680,7 @@ void SCH_EDIT_FRAME::OnImportProject( wxCommandEvent& aEvent )
|
|||
std::list<std::pair<const wxString, const SCH_IO_MGR::SCH_FILE_T>> loaders;
|
||||
|
||||
// Import Altium schematic files.
|
||||
if( ADVANCED_CFG::GetCfg().m_PluginAltiumSch )
|
||||
loaders.emplace_back( AltiumSchematicFileWildcard(), SCH_IO_MGR::SCH_ALTIUM );
|
||||
loaders.emplace_back( AltiumSchematicFileWildcard(), SCH_IO_MGR::SCH_ALTIUM );
|
||||
|
||||
// Import CADSTAR Schematic Archive files.
|
||||
loaders.emplace_back( CadstarSchematicArchiveFileWildcard(), SCH_IO_MGR::SCH_CADSTAR_ARCHIVE );
|
||||
|
|
|
@ -133,12 +133,6 @@ public:
|
|||
*/
|
||||
bool m_DrawTriangulationOutlines;
|
||||
|
||||
/**
|
||||
* When true, enable Altium Schematic import (*.SchDoc)
|
||||
* the current implementation is highly incomplete
|
||||
*/
|
||||
bool m_PluginAltiumSch;
|
||||
|
||||
/**
|
||||
* Sets an absolute minimum pen width for plotting. Some formats (PDF, for example) don't
|
||||
* like ultra-thin lines. Units are mm.
|
||||
|
|
Loading…
Reference in New Issue