admin管理员组

文章数量:1604460

1 前言

之前介绍了bricscad,其实还有一款更好的德国软件ARES Commander值得推荐。
不同于大多数后起之秀,ARES Commander在80年代起就开始和同时代的Autocad相爱相杀。那个时候,CAD绘图软件还在和首款IBM PC捆绑推销,Autocad的江湖地位尚未确立,许多二次开发商和代理都围绕在Autodesk(Autocad的软件厂商)身边把酒言欢,丝毫没想到在下个年代,老大Autodesk会撕破脸皮,和小弟们抢起生意。
十几年的腥风血雨过后,倒下了大批CAD软件厂商,但Graebert GmbH(ARES Commander的软件厂商)凭借着德国的工业技术和商业运作,依然可以和Autodesk在本土分庭抗礼,这一点其实与金山和微软的关系很像,有时间可以细挖,此处按下不表。
不过在国内,ARES Commander的知名度确实还没有Bricscad高,直接原因很可能是国内的代理少,不像Bricscad在2018年被大厂hexagon收购后,加大了全球的宣传力度。

2 安装pj

网盘链接:https://pan.baidu/s/1IJa1lt_V_N5KzlcZOsHhnA 提取码:hpjf。
注意,网盘资源中有2017版和2020版,分别需要Qt4和Qt5的相关依赖。以下以2020版为例,在Fedora32中进行破姐安装。

1.下载2020版对应的文件夹,该文件夹内部含两个子文件夹,一个含补充字体,一个含安装软件。
2.在第二个文件夹中,找到对应的deb包进行安装。由于我用的是Fedora系统,默认的安装包只支持rpm格式,而使用alien命令转换又没有成功,最后索性将此deb包进行解压:

dpkg -x ARES_Commander_2020-2020.2.1.3407-64.deb ./extract/

3.进入解压后的extract文件夹,将里面的所有内容复制合并到根目录/
4.将破解补丁graebert-gmbh.zip解压到软件安装目录(默认为/opt)下,合并覆盖即可。
5.在补充字体夹中,找到子文件夹Type-Chinese和Type-International,复制到/usr/share/fonts/下,至此可以解决部分乱码问题。

3 软件运行

只能在Xorg下运行?

首次点击图标运行会发现闪退,采用命令行运行,会发现不支持wayland警告,最后出现要求的OpenGL Core Profile不被支持的崩溃。

QProcess::FailedToStart
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen factors.
   QT_SCALE_FACTOR to set the application global scale factor.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen factors.
   QT_SCALE_FACTOR to set the application global scale factor.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QVariant::load: unknown user type with name QList<QNetworkCookie>.
QMainWindowLayout::addItem: Please use the public QMainWindow API instead
QWidget::setMaximumSize: (PropertyWindow/CFxDockWidgetWin) The largest allowed size is (16777215,16777215)
QMainWindowLayout::addItem: Please use the public QMainWindow API instead
QWidget::setMaximumSize: (CommandWindow/CFxDockWidgetWin) The largest allowed size is (16777215,16777215)
QMainWindowLayout::addItem: Please use the public QMainWindow API instead
QWidget::setMaximumSize: (OptionToolBar/CFxDockWidgetWin) The largest allowed size is (16777215,16777215)
QMainWindowLayout::addItem: Please use the public QMainWindow API instead
QWidget::setMaximumSize: (MatrixToolbarWindow/CFxDockWidgetWin) The largest allowed size is (16777215,16777215)
QMainWindowLayout::addItem: Please use the public QMainWindow API instead
QWidget::setMaximumSize: (DrawingCompare/CFxDockWidgetWin) The largest allowed size is (16777215,16777215)
QMainWindowLayout::addItem: Please use the public QMainWindow API instead
QWidget::setMaximumSize: (ParametersManager/CFxDockWidgetWin) The largest allowed size is (16777215,16777215)
Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication.
An OpenGL Core Profile was requested, but it is not supported on the current platform. Falling back to a non-Core profile.

将图形界面切换为Xorg显示管理器重新登陆,上述问题即得到解决。但下次再以默认的wayland显示管理器登陆,竟发现软件不会崩溃了,尽管依然会有如上信息,不知道为什么。
不过,保险起见,在wayland显示管理器下还是慎用该软件吧!

a “workalike” not a “lookalike”

在graebert官网历史文献中,宣传自己开发了Autocad的第一款替代品时说道:Because of German copyright law,FelixCAD was a “workalike” not a “lookalike” — a difference that would become more important over time.
很明显,如今的ARES Commander完全继承了这一特性。别的不说,至少当打开某些dwg文件时,弹出的替换大字体对话框就与Autocad如出一辙。

当然,某些“口口口”或者“???”的乱码还是不可避免,这是linux下所有替代品的通病,不过只要在文字编辑中text style control选项里将其替换成合适的style就好。

本文标签: 替代品完美AutoCADLinuxARES