| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" standalone="no" encoding="windows-1252"?> |
<!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 5.2a --> |
<!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co --> |
<!-- Field: Doc-Info; Name: Source; Value: 20191229 10Q Q1 DFN.xfr; Date: 2020%2D02%2D07T18:39:27Z --> |
<!-- Field: Doc-Info; Name: Status; Value: 0x800E0000 --> |
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"> |
| <link:roleRef roleURI="http://optexsys.com/role/DocumentAndEntityInformation" xlink:href="opxs-20191229.xsd#DocumentAndEntityInformation" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/BalanceSheets" xlink:href="opxs-20191229.xsd#BalanceSheets" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/BalanceSheetsParenthetical" xlink:href="opxs-20191229.xsd#BalanceSheetsParenthetical" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StatementsOfOperations" xlink:href="opxs-20191229.xsd#StatementsOfOperations" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StatementsOfCashFlows" xlink:href="opxs-20191229.xsd#StatementsOfCashFlows" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StatementsOfStockholdersEquity" xlink:href="opxs-20191229.xsd#StatementsOfStockholdersEquity" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/OrganizationAndOperations" xlink:href="opxs-20191229.xsd#OrganizationAndOperations" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/AccountingPolicies" xlink:href="opxs-20191229.xsd#AccountingPolicies" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/SegmentReporting" xlink:href="opxs-20191229.xsd#SegmentReporting" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/CommitmentsAndContingencies" xlink:href="opxs-20191229.xsd#CommitmentsAndContingencies" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/DebtFinancing" xlink:href="opxs-20191229.xsd#DebtFinancing" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/WarrantLiabilities" xlink:href="opxs-20191229.xsd#WarrantLiabilities" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StockBasedCompensation" xlink:href="opxs-20191229.xsd#StockBasedCompensation" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StockholdersEquity" xlink:href="opxs-20191229.xsd#StockholdersEquity" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/SubsequentEvents" xlink:href="opxs-20191229.xsd#SubsequentEvents" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/AccountingPoliciesPolicies" xlink:href="opxs-20191229.xsd#AccountingPoliciesPolicies" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/AccountingPoliciesTables" xlink:href="opxs-20191229.xsd#AccountingPoliciesTables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/SegmentReportingTables" xlink:href="opxs-20191229.xsd#SegmentReportingTables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/CommitmentsAndContingenciesTables" xlink:href="opxs-20191229.xsd#CommitmentsAndContingenciesTables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/WarrantLiabilitiesTables" xlink:href="opxs-20191229.xsd#WarrantLiabilitiesTables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StockBasedCompensationTables" xlink:href="opxs-20191229.xsd#StockBasedCompensationTables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/OrganizationAndOperationsDetailsNarrative" xlink:href="opxs-20191229.xsd#OrganizationAndOperationsDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/AccountingPoliciesDetailsNarrative" xlink:href="opxs-20191229.xsd#AccountingPoliciesDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/AccountingPolicies-ScheduleOfInventoryDetails" xlink:href="opxs-20191229.xsd#AccountingPolicies-ScheduleOfInventoryDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/AccountingPolicies-ScheduleOfWarrantyReservesDetails" xlink:href="opxs-20191229.xsd#AccountingPolicies-ScheduleOfWarrantyReservesDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/SegmentReportingDetailsNarrative" xlink:href="opxs-20191229.xsd#SegmentReportingDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/SegmentReporting-ScheduleOfInformationForEachOfReportableSegmentsProfitOrLossAsWellAsSegmentAssetsForEachYearDetails" xlink:href="opxs-20191229.xsd#SegmentReporting-ScheduleOfInformationForEachOfReportableSegmentsProfitOrLossAsWellAsSegmentAssetsForEachYearDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:href="opxs-20191229.xsd#CommitmentsAndContingenciesDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/CommitmentsAndContingencies-ScheduleOfNon-cancellableOperatingLeasesMinimumPaymentsDetails" xlink:href="opxs-20191229.xsd#CommitmentsAndContingencies-ScheduleOfNon-cancellableOperatingLeasesMinimumPaymentsDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/CommitmentsAndContingencies-ScheduleOfNon-cancellableOperatingLeasesMinimumPaymentsDetailsParenthetical" xlink:href="opxs-20191229.xsd#CommitmentsAndContingencies-ScheduleOfNon-cancellableOperatingLeasesMinimumPaymentsDetailsParenthetical" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/DebtFinancingDetailsNarrative" xlink:href="opxs-20191229.xsd#DebtFinancingDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/WarrantLiabilitiesDetailsNarrative" xlink:href="opxs-20191229.xsd#WarrantLiabilitiesDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/WarrantLiabilities-ScheduleOfFairValueWarrantLiabilitiesDetails" xlink:href="opxs-20191229.xsd#WarrantLiabilities-ScheduleOfFairValueWarrantLiabilitiesDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/WarrantLiabilities-SummaryOfWarrantsOutstandingAndFairValuesDetails" xlink:href="opxs-20191229.xsd#WarrantLiabilities-SummaryOfWarrantsOutstandingAndFairValuesDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StockBasedCompensationDetailsNarrative" xlink:href="opxs-20191229.xsd#StockBasedCompensationDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StockBasedCompensation-ScheduleOfAggregateNon-vestedRestrictedStockUnitsGrantedDetails" xlink:href="opxs-20191229.xsd#StockBasedCompensation-ScheduleOfAggregateNon-vestedRestrictedStockUnitsGrantedDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StockBasedCompensation-ScheduleOfUnrecognizedCompensationCostsDetails" xlink:href="opxs-20191229.xsd#StockBasedCompensation-ScheduleOfUnrecognizedCompensationCostsDetails" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/StockholdersEquityDetailsNarrative" xlink:href="opxs-20191229.xsd#StockholdersEquityDetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://optexsys.com/role/SubsequentEventsDetailsNarrative" xlink:href="opxs-20191229.xsd#SubsequentEventsDetailsNarrative" xlink:type="simple"/> |
| <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension"/> |
| <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain"/> |
| <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member"/> |
| <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all"/> |
| <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll" arcroleURI="http://xbrl.org/int/dim/arcrole/notAll"/> |
| <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/BalanceSheets" xlink:title="00000002 - Statement - Condensed Consolidated Balance Sheets"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/BalanceSheetsParenthetical" xlink:title="00000003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StatementsOfOperations" xlink:title="00000004 - Statement - Condensed Consolidated Statements of Operations (Unaudited)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StatementsOfCashFlows" xlink:title="00000005 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StatementsOfStockholdersEquity" xlink:title="00000006 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaapCommonStockMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapCommonStockMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaapAdditionalPaidInCapitalMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapAdditionalPaidInCapitalMember_10" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaapRetainedEarningsMember_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapRetainedEarningsMember_20" xlink:type="arc" order="21"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockholdersEquity_50" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaapSharesOutstanding_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSharesOutstanding_50" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaapAdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_50" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapNetIncomeLoss_50" xlink:type="arc" order="5"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/OrganizationAndOperations" xlink:title="00000007 - Disclosure - Organization and Operations"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/AccountingPolicies" xlink:title="00000008 - Disclosure - Accounting Policies"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/SegmentReporting" xlink:title="00000009 - Disclosure - Segment Reporting"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/CommitmentsAndContingencies" xlink:title="00000010 - Disclosure - Commitments and Contingencies"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/DebtFinancing" xlink:title="00000011 - Disclosure - Debt Financing"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/WarrantLiabilities" xlink:title="00000012 - Disclosure - Warrant Liabilities"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StockBasedCompensation" xlink:title="00000013 - Disclosure - Stock Based Compensation"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StockholdersEquity" xlink:title="00000014 - Disclosure - Stockholders' Equity"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/SubsequentEvents" xlink:title="00000015 - Disclosure - Subsequent Events"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/AccountingPoliciesPolicies" xlink:title="00000016 - Disclosure - Accounting Policies (Policies)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/AccountingPoliciesTables" xlink:title="00000017 - Disclosure - Accounting Policies (Tables)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/SegmentReportingTables" xlink:title="00000018 - Disclosure - Segment Reporting (Tables)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/CommitmentsAndContingenciesTables" xlink:title="00000019 - Disclosure - Commitments and Contingencies (Tables)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/WarrantLiabilitiesTables" xlink:title="00000020 - Disclosure - Warrant Liabilities (Tables)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StockBasedCompensationTables" xlink:title="00000021 - Disclosure - Stock Based Compensation (Tables)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/OrganizationAndOperationsDetailsNarrative" xlink:title="00000022 - Disclosure - Organization and Operations (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MajorCustomersAxis" xlink:label="loc_srtMajorCustomersAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtMajorCustomersAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srtNameOfMajorCustomerDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtMajorCustomersAxis" xlink:to="loc_srtNameOfMajorCustomerDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srtNameOfMajorCustomerDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtMajorCustomersAxis" xlink:to="loc_srtNameOfMajorCustomerDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_USGovernmentMember" xlink:label="loc_OPXSUSGovernmentMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSUSGovernmentMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_USDefenseContractorOneMember" xlink:label="loc_OPXSUSDefenseContractorOneMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSUSDefenseContractorOneMember_10" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_USDefenseContractorTwoMember" xlink:label="loc_OPXSUSDefenseContractorTwoMember_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSUSDefenseContractorTwoMember_20" xlink:type="arc" order="21"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OneCommercialCustomerMember" xlink:label="loc_OPXSOneCommercialCustomerMember_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSOneCommercialCustomerMember_30" xlink:type="arc" order="31"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AllOtherCustomersMember" xlink:label="loc_OPXSAllOtherCustomersMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSAllOtherCustomersMember_40" xlink:type="arc" order="41"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaapConcentrationRiskByBenchmarkAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaapConcentrationRiskBenchmarkDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:to="loc_us-gaapConcentrationRiskBenchmarkDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaapConcentrationRiskBenchmarkDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:to="loc_us-gaapConcentrationRiskBenchmarkDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SalesRevenueNetMember" xlink:label="loc_us-gaapSalesRevenueNetMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapConcentrationRiskBenchmarkDomain" xlink:to="loc_us-gaapSalesRevenueNetMember_0" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srtStatementGeographicalAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtStatementGeographicalAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srtSegmentGeographicalDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtStatementGeographicalAxis" xlink:to="loc_srtSegmentGeographicalDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srtSegmentGeographicalDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtStatementGeographicalAxis" xlink:to="loc_srtSegmentGeographicalDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_countryUS_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtSegmentGeographicalDomain" xlink:to="loc_countryUS_50" xlink:type="arc" order="52"/> |
| | <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CA" xlink:label="loc_countryCA_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtSegmentGeographicalDomain" xlink:to="loc_countryCA_60" xlink:type="arc" order="62"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaapConcentrationRiskPercentage1_90"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapConcentrationRiskPercentage1_90" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_LeasedFacility" xlink:label="loc_OPXSLeasedFacility_90"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSLeasedFacility_90" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_NumberOfEmployees" xlink:label="loc_OPXSNumberOfEmployees_90"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSNumberOfEmployees_90" xlink:type="arc" order="2"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/AccountingPoliciesDetailsNarrative" xlink:title="00000023 - Disclosure - Accounting Policies (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaapTypeOfAdoptionMember"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis" xlink:to="loc_us-gaapTypeOfAdoptionMember" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaapTypeOfAdoptionMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis" xlink:to="loc_us-gaapTypeOfAdoptionMember_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaapAccountingStandardsUpdate201602Member_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapTypeOfAdoptionMember" xlink:to="loc_us-gaapAccountingStandardsUpdate201602Member_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaapConcentrationRiskByBenchmarkAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaapConcentrationRiskBenchmarkDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:to="loc_us-gaapConcentrationRiskBenchmarkDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaapConcentrationRiskBenchmarkDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:to="loc_us-gaapConcentrationRiskBenchmarkDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SalesRevenueNetMember" xlink:label="loc_us-gaapSalesRevenueNetMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapConcentrationRiskBenchmarkDomain" xlink:to="loc_us-gaapSalesRevenueNetMember_10" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srtTitleOfIndividualAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtTitleOfIndividualAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_USGovernmentAgenciesMember" xlink:label="loc_OPXSUSGovernmentAgenciesMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSUSGovernmentAgenciesMember_10" xlink:type="arc" order="12"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_MajorUSDefenseContractorOneMember" xlink:label="loc_OPXSMajorUSDefenseContractorOneMember_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSMajorUSDefenseContractorOneMember_20" xlink:type="arc" order="22"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_MajorUSDefenseContractorTwoMember" xlink:label="loc_OPXSMajorUSDefenseContractorTwoMember_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSMajorUSDefenseContractorTwoMember_30" xlink:type="arc" order="32"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_MajorUSDefenseContractorThreeMember" xlink:label="loc_OPXSMajorUSDefenseContractorThreeMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSMajorUSDefenseContractorThreeMember_40" xlink:type="arc" order="42"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_MajorCommercialCustomerOneMember" xlink:label="loc_OPXSMajorCommercialCustomerOneMember_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSMajorCommercialCustomerOneMember_50" xlink:type="arc" order="52"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AllOtherCustomersMember" xlink:label="loc_OPXSAllOtherCustomersMember_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSAllOtherCustomersMember_60" xlink:type="arc" order="62"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaapAntidilutiveSecuritiesNameDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="loc_us-gaapAntidilutiveSecuritiesNameDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaapAntidilutiveSecuritiesNameDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="loc_us-gaapAntidilutiveSecuritiesNameDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_WarrantsMember" xlink:label="loc_OPXSWarrantsMember_110"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAntidilutiveSecuritiesNameDomain" xlink:to="loc_OPXSWarrantsMember_110" xlink:type="arc" order="111"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaapRestrictedStockMember_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAntidilutiveSecuritiesNameDomain" xlink:to="loc_us-gaapRestrictedStockMember_120" xlink:type="arc" order="121"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_RestrictedStockOneMember" xlink:label="loc_OPXSRestrictedStockOneMember_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAntidilutiveSecuritiesNameDomain" xlink:to="loc_OPXSRestrictedStockOneMember_130" xlink:type="arc" order="131"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_WarrantOneMember" xlink:label="loc_OPXSWarrantOneMember_140"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAntidilutiveSecuritiesNameDomain" xlink:to="loc_OPXSWarrantOneMember_140" xlink:type="arc" order="141"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset_160" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaapOperatingLeaseLiability_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOperatingLeaseLiability_160" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm" xlink:label="loc_us-gaapLesseeOperatingLeaseRenewalTerm_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLesseeOperatingLeaseRenewalTerm_160" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaapConcentrationRiskPercentage1_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapConcentrationRiskPercentage1_160" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_WarrantyReserve" xlink:label="loc_OPXSWarrantyReserve_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSWarrantyReserve_160" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_DeferredContractRevenue" xlink:label="loc_OPXSDeferredContractRevenue_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSDeferredContractRevenue_160" xlink:type="arc" order="5"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_RefundOfCustomerDeposit" xlink:label="loc_OPXSRefundOfCustomerDeposit_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSRefundOfCustomerDeposit_160" xlink:type="arc" order="6"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerRefundLiability" xlink:label="loc_us-gaapContractWithCustomerRefundLiability_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapContractWithCustomerRefundLiability_160" xlink:type="arc" order="7"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaapDeferredTaxAssetsValuationAllowance_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDeferredTaxAssetsValuationAllowance_160" xlink:type="arc" order="8"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaapDeferredIncomeTaxLiabilities_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDeferredIncomeTaxLiabilities_160" xlink:type="arc" order="9"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaapOperatingLossCarryforwards_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOperatingLossCarryforwards_160" xlink:type="arc" order="10"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Dividends" xlink:label="loc_us-gaapDividends_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDividends_160" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UndistributedEarnings" xlink:label="loc_us-gaapUndistributedEarnings_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapUndistributedEarnings_160" xlink:type="arc" order="12"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_DeclaredDividendsAttributableToParticipatingWarrants" xlink:label="loc_OPXSDeclaredDividendsAttributableToParticipatingWarrants_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSDeclaredDividendsAttributableToParticipatingWarrants_160" xlink:type="arc" order="13"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaapWeightedAverageNumberOfDilutedSharesOutstanding_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapWeightedAverageNumberOfDilutedSharesOutstanding_160" xlink:type="arc" order="14"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaapWeightedAverageNumberDilutedSharesOutstandingAdjustment_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapWeightedAverageNumberDilutedSharesOutstandingAdjustment_160" xlink:type="arc" order="15"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_160" xlink:type="arc" order="16"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/AccountingPolicies-ScheduleOfInventoryDetails" xlink:title="00000024 - Disclosure - Accounting Policies - Schedule of Inventory (Details)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/AccountingPolicies-ScheduleOfWarrantyReservesDetails" xlink:title="00000025 - Disclosure - Accounting Policies - Schedule of Warranty Reserves (Details)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/SegmentReportingDetailsNarrative" xlink:title="00000026 - Disclosure - Segment Reporting (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MajorCustomersAxis" xlink:label="loc_srtMajorCustomersAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtMajorCustomersAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srtNameOfMajorCustomerDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtMajorCustomersAxis" xlink:to="loc_srtNameOfMajorCustomerDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srtNameOfMajorCustomerDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtMajorCustomersAxis" xlink:to="loc_srtNameOfMajorCustomerDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_DomesticMilitaryCustomersMember" xlink:label="loc_OPXSDomesticMilitaryCustomersMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSDomesticMilitaryCustomersMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_ForeignMilitaryCustomersMember" xlink:label="loc_OPXSForeignMilitaryCustomersMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSForeignMilitaryCustomersMember_10" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_USGovernmentMember" xlink:label="loc_OPXSUSGovernmentMember_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSUSGovernmentMember_20" xlink:type="arc" order="21"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_USDefenseContractorOneMember" xlink:label="loc_OPXSUSDefenseContractorOneMember_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSUSDefenseContractorOneMember_30" xlink:type="arc" order="31"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_USDefenseContractorTwoMember" xlink:label="loc_OPXSUSDefenseContractorTwoMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSUSDefenseContractorTwoMember_40" xlink:type="arc" order="41"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_CommercialCustomersMember" xlink:label="loc_OPXSCommercialCustomersMember_70"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSCommercialCustomersMember_70" xlink:type="arc" order="71"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_SubcontractedCustomersMember" xlink:label="loc_OPXSSubcontractedCustomersMember_80"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSSubcontractedCustomersMember_80" xlink:type="arc" order="81"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_RevenuesFromExternalCustomersMember" xlink:label="loc_OPXSRevenuesFromExternalCustomersMember_90"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSRevenuesFromExternalCustomersMember_90" xlink:type="arc" order="93"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_MilitaryContractsMember" xlink:label="loc_OPXSMilitaryContractsMember_100"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSMilitaryContractsMember_100" xlink:type="arc" order="101"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OneMajorCommercialCustomersMember" xlink:label="loc_OPXSOneMajorCommercialCustomersMember_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSOneMajorCommercialCustomersMember_120" xlink:type="arc" order="121"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OneMajorDefenseContractorMember" xlink:label="loc_OPXSOneMajorDefenseContractorMember_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSOneMajorDefenseContractorMember_130" xlink:type="arc" order="131"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaapStatementBusinessSegmentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementBusinessSegmentsAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OptexSystemsOPXRichardsonTexasMember" xlink:label="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AppliedOpticsCenterAOCDallasMember" xlink:label="loc_OPXSAppliedOpticsCenterAOCDallasMember_70"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSAppliedOpticsCenterAOCDallasMember_70" xlink:type="arc" order="72"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaapConcentrationRiskByBenchmarkAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaapConcentrationRiskBenchmarkDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:to="loc_us-gaapConcentrationRiskBenchmarkDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaapConcentrationRiskBenchmarkDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapConcentrationRiskByBenchmarkAxis" xlink:to="loc_us-gaapConcentrationRiskBenchmarkDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SalesRevenueNetMember" xlink:label="loc_us-gaapSalesRevenueNetMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapConcentrationRiskBenchmarkDomain" xlink:to="loc_us-gaapSalesRevenueNetMember_0" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_IntersegmentSalesRevenueNetMember" xlink:label="loc_OPXSIntersegmentSalesRevenueNetMember_100"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapConcentrationRiskBenchmarkDomain" xlink:to="loc_OPXSIntersegmentSalesRevenueNetMember_100" xlink:type="arc" order="103"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaapConcentrationRiskPercentage1_170"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapConcentrationRiskPercentage1_170" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AreaOfLand" xlink:label="loc_us-gaapAreaOfLand_170"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAreaOfLand_170" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_NumberOfEmployees" xlink:label="loc_OPXSNumberOfEmployees_170"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSNumberOfEmployees_170" xlink:type="arc" order="2"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/SegmentReporting-ScheduleOfInformationForEachOfReportableSegmentsProfitOrLossAsWellAsSegmentAssetsForEachYearDetails" xlink:title="00000027 - Disclosure - Segment Reporting - Schedule of Information for Each of the Reportable Segments Profit or Loss as Well as Segment Assets for Each Year (Details)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MajorCustomersAxis" xlink:label="loc_srtMajorCustomersAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtMajorCustomersAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srtNameOfMajorCustomerDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtMajorCustomersAxis" xlink:to="loc_srtNameOfMajorCustomerDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srtNameOfMajorCustomerDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtMajorCustomersAxis" xlink:to="loc_srtNameOfMajorCustomerDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_RevenuesFromExternalCustomersMember" xlink:label="loc_OPXSRevenuesFromExternalCustomersMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSRevenuesFromExternalCustomersMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_IntersegmentRevenuesMember" xlink:label="loc_OPXSIntersegmentRevenuesMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtNameOfMajorCustomerDomain" xlink:to="loc_OPXSIntersegmentRevenuesMember_40" xlink:type="arc" order="41"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaapStatementBusinessSegmentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementBusinessSegmentsAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OptexSystemsOPXRichardsonTexasMember" xlink:label="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AppliedOpticsCenterAOCDallasMember" xlink:label="loc_OPXSAppliedOpticsCenterAOCDallasMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSAppliedOpticsCenterAOCDallasMember_10" xlink:type="arc" order="12"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srtConsolidationItemsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtConsolidationItemsAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srtConsolidationItemsDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtConsolidationItemsAxis" xlink:to="loc_srtConsolidationItemsDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srtConsolidationItemsDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtConsolidationItemsAxis" xlink:to="loc_srtConsolidationItemsDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaapIntersegmentEliminationMember_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtConsolidationItemsDomain" xlink:to="loc_us-gaapIntersegmentEliminationMember_20" xlink:type="arc" order="22"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaapRevenues_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapRevenues_250" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapInterestExpense_250" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaapDepreciationDepletionAndAmortization_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDepreciationDepletionAndAmortization_250" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_IncomeLossFromOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_OPXSIncomeLossFromOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSIncomeLossFromOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_250" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AllocatedHomeOfficeExpense" xlink:label="loc_OPXSAllocatedHomeOfficeExpense_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSAllocatedHomeOfficeExpense_250" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaapDerivativeGainLossOnDerivativeNet_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDerivativeGainLossOnDerivativeNet_250" xlink:type="arc" order="5"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_ShareBasedCompensation1" xlink:label="loc_OPXSShareBasedCompensation1_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSShareBasedCompensation1_250" xlink:type="arc" order="6"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfAdvanceRoyalty" xlink:label="loc_us-gaapAmortizationOfAdvanceRoyalty_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAmortizationOfAdvanceRoyalty_250" xlink:type="arc" order="7"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_WarrantyExpense" xlink:label="loc_OPXSWarrantyExpense_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSWarrantyExpense_250" xlink:type="arc" order="8"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueOfAssetsAcquired" xlink:label="loc_us-gaapFairValueOfAssetsAcquired_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapFairValueOfAssetsAcquired_250" xlink:type="arc" order="9"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment_250"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment_250" xlink:type="arc" order="10"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:title="00000028 - Disclosure - Commitments and Contingencies (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaapStatementBusinessSegmentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementBusinessSegmentsAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OptexSystemsOPXRichardsonTexasMember" xlink:label="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AppliedOpticsCenterAOCDallasMember" xlink:label="loc_OPXSAppliedOpticsCenterAOCDallasMember_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSAppliedOpticsCenterAOCDallasMember_30" xlink:type="arc" order="31"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaapAwardTypeAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapAwardTypeAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAwardTypeAxis" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAwardTypeAxis" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OctoberOneTwoThousandAndEighteenThroughDecemberThirtyOneTwoThousandAndTwentyOneMember" xlink:label="loc_OPXSOctoberOneTwoThousandAndEighteenThroughDecemberThirtyOneTwoThousandAndTwentyOneMember_100"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_OPXSOctoberOneTwoThousandAndEighteenThroughDecemberThirtyOneTwoThousandAndTwentyOneMember_100" xlink:type="arc" order="101"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaapTypeOfAdoptionMember"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis" xlink:to="loc_us-gaapTypeOfAdoptionMember" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaapTypeOfAdoptionMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAdjustmentsForNewAccountingPronouncementsAxis" xlink:to="loc_us-gaapTypeOfAdoptionMember_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaapAccountingStandardsUpdate201602Member_110"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapTypeOfAdoptionMember" xlink:to="loc_us-gaapAccountingStandardsUpdate201602Member_110" xlink:type="arc" order="111"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfArrangementAxis" xlink:label="loc_us-gaapTypeOfArrangementAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapTypeOfArrangementAxis" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaapArrangementsAndNonarrangementTransactionsMember"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapTypeOfArrangementAxis" xlink:to="loc_us-gaapArrangementsAndNonarrangementTransactionsMember" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaapArrangementsAndNonarrangementTransactionsMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapTypeOfArrangementAxis" xlink:to="loc_us-gaapArrangementsAndNonarrangementTransactionsMember_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_FacilityLeaseAgreementMember" xlink:label="loc_OPXSFacilityLeaseAgreementMember_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapArrangementsAndNonarrangementTransactionsMember" xlink:to="loc_OPXSFacilityLeaseAgreementMember_120" xlink:type="arc" order="121"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaapLeaseArrangementTypeAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapLeaseArrangementTypeAxis" xlink:type="arc" order="5"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaapLeaseArrangementTypeDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapLeaseArrangementTypeAxis" xlink:to="loc_us-gaapLeaseArrangementTypeDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaapLeaseArrangementTypeDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapLeaseArrangementTypeAxis" xlink:to="loc_us-gaapLeaseArrangementTypeDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_RightOfUseAssetsMember" xlink:label="loc_OPXSRightOfUseAssetsMember_140"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLeaseArrangementTypeDomain" xlink:to="loc_OPXSRightOfUseAssetsMember_140" xlink:type="arc" order="141"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaapFinancialInstrumentAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFinancialInstrumentAxis" xlink:type="arc" order="6"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancialInstrumentAxis" xlink:to="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancialInstrumentAxis" xlink:to="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AreaOfLand" xlink:label="loc_us-gaapAreaOfLand_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAreaOfLand_160" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseExpirationDate1" xlink:label="loc_us-gaapLeaseExpirationDate1_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLeaseExpirationDate1_160" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRent" xlink:label="loc_us-gaapPaymentsForRent_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPaymentsForRent_160" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DescriptionOfLesseeLeasingArrangementsOperatingLeases" xlink:label="loc_us-gaapDescriptionOfLesseeLeasingArrangementsOperatingLeases_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDescriptionOfLesseeLeasingArrangementsOperatingLeases_160" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm" xlink:label="loc_us-gaapLesseeOperatingLeaseRenewalTerm_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLesseeOperatingLeaseRenewalTerm_160" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaapLineOfCreditFacilityMaximumBorrowingCapacity_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLineOfCreditFacilityMaximumBorrowingCapacity_160" xlink:type="arc" order="5"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaapLineOfCreditFacilityRemainingBorrowingCapacity_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLineOfCreditFacilityRemainingBorrowingCapacity_160" xlink:type="arc" order="6"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaapLeaseCost_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLeaseCost_160" xlink:type="arc" order="7"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset_160" xlink:type="arc" order="8"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaapOperatingLeaseLiability_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOperatingLeaseLiability_160" xlink:type="arc" order="9"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_ShortTermRentalExpenses" xlink:label="loc_OPXSShortTermRentalExpenses_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSShortTermRentalExpenses_160" xlink:type="arc" order="10"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_RemainingLeaseObligation" xlink:label="loc_OPXSRemainingLeaseObligation_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSRemainingLeaseObligation_160" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseAndRentalExpense" xlink:label="loc_us-gaapLeaseAndRentalExpense_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLeaseAndRentalExpense_160" xlink:type="arc" order="12"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredRentCreditCurrent" xlink:label="loc_us-gaapDeferredRentCreditCurrent_160"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDeferredRentCreditCurrent_160" xlink:type="arc" order="13"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/CommitmentsAndContingencies-ScheduleOfNon-cancellableOperatingLeasesMinimumPaymentsDetails" xlink:title="00000029 - Disclosure - Commitments and Contingencies - Schedule of Non-cancellable Operating Leases Minimum Payments (Details)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaapStatementBusinessSegmentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementBusinessSegmentsAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OptexSystemsOPXRichardsonTexasMember" xlink:label="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSOptexSystemsOPXRichardsonTexasMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AppliedOpticsCenterAOCDallasMember" xlink:label="loc_OPXSAppliedOpticsCenterAOCDallasMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_OPXSAppliedOpticsCenterAOCDallasMember_10" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaapIncomeStatementLocationAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapIncomeStatementLocationAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaapIncomeStatementLocationDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapIncomeStatementLocationAxis" xlink:to="loc_us-gaapIncomeStatementLocationDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaapIncomeStatementLocationDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapIncomeStatementLocationAxis" xlink:to="loc_us-gaapIncomeStatementLocationDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_CommonAreaMaintenanceEstimateMember" xlink:label="loc_OPXSCommonAreaMaintenanceEstimateMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapIncomeStatementLocationDomain" xlink:to="loc_OPXSCommonAreaMaintenanceEstimateMember_40" xlink:type="arc" order="41"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaapPropertyPlantAndEquipmentByTypeAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapPropertyPlantAndEquipmentByTypeAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaapPropertyPlantAndEquipmentTypeDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapPropertyPlantAndEquipmentByTypeAxis" xlink:to="loc_us-gaapPropertyPlantAndEquipmentTypeDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaapPropertyPlantAndEquipmentTypeDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapPropertyPlantAndEquipmentByTypeAxis" xlink:to="loc_us-gaapPropertyPlantAndEquipmentTypeDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OfficeEquipmentMember" xlink:label="loc_us-gaapOfficeEquipmentMember_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapPropertyPlantAndEquipmentTypeDomain" xlink:to="loc_us-gaapOfficeEquipmentMember_20" xlink:type="arc" order="21"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_60" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearTwo_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearTwo_60" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearThree_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearThree_60" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_LesseeOperatingLeaseLiabilityPaymentsDueUptoYearThree" xlink:label="loc_OPXSLesseeOperatingLeaseLiabilityPaymentsDueUptoYearThree_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSLesseeOperatingLeaseLiabilityPaymentsDueUptoYearThree_60" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_LesseeOperatingLeaseLiabilityPaymentsDueYearThreeThroughYearSix" xlink:label="loc_OPXSLesseeOperatingLeaseLiabilityPaymentsDueYearThreeThroughYearSix_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSLesseeOperatingLeaseLiabilityPaymentsDueYearThreeThroughYearSix_60" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDue_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDue_60" xlink:type="arc" order="5"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityUndiscountedExcessAmount_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityUndiscountedExcessAmount_60" xlink:type="arc" order="6"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaapOperatingLeaseLiability_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOperatingLeaseLiability_60" xlink:type="arc" order="7"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset_60"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset_60" xlink:type="arc" order="8"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/CommitmentsAndContingencies-ScheduleOfNon-cancellableOperatingLeasesMinimumPaymentsDetailsParenthetical" xlink:title="00000030 - Disclosure - Commitments and Contingencies - Schedule of Non-cancellable Operating Leases Minimum Payments (Details) (Parenthetical)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/DebtFinancingDetailsNarrative" xlink:title="00000031 - Disclosure - Debt Financing (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityAxis" xlink:label="loc_us-gaapLineOfCreditFacilityAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapLineOfCreditFacilityAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaapLineOfCreditFacilityLenderDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapLineOfCreditFacilityAxis" xlink:to="loc_us-gaapLineOfCreditFacilityLenderDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaapLineOfCreditFacilityLenderDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapLineOfCreditFacilityAxis" xlink:to="loc_us-gaapLineOfCreditFacilityLenderDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AvidbankMember" xlink:label="loc_OPXSAvidbankMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLineOfCreditFacilityLenderDomain" xlink:to="loc_OPXSAvidbankMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaapCreditFacilityAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapCreditFacilityAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaapCreditFacilityDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapCreditFacilityAxis" xlink:to="loc_us-gaapCreditFacilityDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaapCreditFacilityDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapCreditFacilityAxis" xlink:to="loc_us-gaapCreditFacilityDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaapRevolvingCreditFacilityMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapCreditFacilityDomain" xlink:to="loc_us-gaapRevolvingCreditFacilityMember_0" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfArrangementAxis" xlink:label="loc_us-gaapTypeOfArrangementAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapTypeOfArrangementAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaapArrangementsAndNonarrangementTransactionsMember"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapTypeOfArrangementAxis" xlink:to="loc_us-gaapArrangementsAndNonarrangementTransactionsMember" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaapArrangementsAndNonarrangementTransactionsMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapTypeOfArrangementAxis" xlink:to="loc_us-gaapArrangementsAndNonarrangementTransactionsMember_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_AmendedAndRestatedLoanAgreementMember" xlink:label="loc_OPXSAmendedAndRestatedLoanAgreementMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapArrangementsAndNonarrangementTransactionsMember" xlink:to="loc_OPXSAmendedAndRestatedLoanAgreementMember_40" xlink:type="arc" order="41"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaapLineOfCredit_70"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLineOfCredit_70" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaapInterestIncomeExpenseNet_70"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapInterestIncomeExpenseNet_70" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="loc_us-gaapLineOfCreditFacilityExpirationDate1_70"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLineOfCreditFacilityExpirationDate1_70" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage" xlink:label="loc_us-gaapLineOfCreditFacilityCommitmentFeePercentage_70"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLineOfCreditFacilityCommitmentFeePercentage_70" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityDescription" xlink:label="loc_us-gaapLineOfCreditFacilityDescription_70"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLineOfCreditFacilityDescription_70" xlink:type="arc" order="4"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/WarrantLiabilitiesDetailsNarrative" xlink:title="00000032 - Disclosure - Warrant Liabilities (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaapRelatedPartyDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis" xlink:to="loc_us-gaapRelatedPartyDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaapRelatedPartyDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis" xlink:to="loc_us-gaapRelatedPartyDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_NewShareholdersMember" xlink:label="loc_OPXSNewShareholdersMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRelatedPartyDomain" xlink:to="loc_OPXSNewShareholdersMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srtTitleOfIndividualAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtTitleOfIndividualAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_UnderwriterMember" xlink:label="loc_OPXSUnderwriterMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSUnderwriterMember_0" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights" xlink:label="loc_us-gaapClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_50" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:label="loc_us-gaapClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_50" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_ClassOfWarrantOrRightTerminationDate" xlink:label="loc_OPXSClassOfWarrantOrRightTerminationDate_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSClassOfWarrantOrRightTerminationDate_50" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAdjustmentOfWarrants" xlink:label="loc_us-gaapFairValueAdjustmentOfWarrants_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapFairValueAdjustmentOfWarrants_50" xlink:type="arc" order="3"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/WarrantLiabilities-ScheduleOfFairValueWarrantLiabilitiesDetails" xlink:title="00000033 - Disclosure - Warrant Liabilities - Schedule of Fair Value Warrant Liabilities (Details)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaapWarrantMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapWarrantMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MeasurementInputTypeAxis" xlink:label="loc_us-gaapMeasurementInputTypeAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapMeasurementInputTypeAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MeasurementInputTypeDomain" xlink:label="loc_us-gaapMeasurementInputTypeDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapMeasurementInputTypeAxis" xlink:to="loc_us-gaapMeasurementInputTypeDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MeasurementInputTypeDomain" xlink:label="loc_us-gaapMeasurementInputTypeDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapMeasurementInputTypeAxis" xlink:to="loc_us-gaapMeasurementInputTypeDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MeasurementInputRiskFreeInterestRateMember" xlink:label="loc_us-gaapMeasurementInputRiskFreeInterestRateMember_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMeasurementInputTypeDomain" xlink:to="loc_us-gaapMeasurementInputRiskFreeInterestRateMember_10" xlink:type="arc" order="12"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MeasurementInputPriceVolatilityMember" xlink:label="loc_us-gaapMeasurementInputPriceVolatilityMember_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMeasurementInputTypeDomain" xlink:to="loc_us-gaapMeasurementInputPriceVolatilityMember_20" xlink:type="arc" order="22"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:label="loc_us-gaapClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_130" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantsAndRightsOutstandingMaturityDate" xlink:label="loc_us-gaapWarrantsAndRightsOutstandingMaturityDate_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapWarrantsAndRightsOutstandingMaturityDate_130" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharesIssuedPricePerShare" xlink:label="loc_us-gaapSharesIssuedPricePerShare_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSharesIssuedPricePerShare_130" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantsAndRightsOutstandingMeasurementInput" xlink:label="loc_us-gaapWarrantsAndRightsOutstandingMeasurementInput_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapWarrantsAndRightsOutstandingMeasurementInput_130" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantsAndRightsOutstandingTerm" xlink:label="loc_us-gaapWarrantsAndRightsOutstandingTerm_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapWarrantsAndRightsOutstandingTerm_130" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_FairValueAssumptionsFairValuePerShare" xlink:label="loc_OPXSFairValueAssumptionsFairValuePerShare_130"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSFairValueAssumptionsFairValuePerShare_130" xlink:type="arc" order="5"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/WarrantLiabilities-SummaryOfWarrantsOutstandingAndFairValuesDetails" xlink:title="00000034 - Disclosure - Warrant Liabilities - Summary of Warrants Outstanding and Fair Values (Details)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaapWarrantMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapWarrantMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_30" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsFairValuePerShare" xlink:label="loc_OPXSShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsFairValuePerShare_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsFairValuePerShare_30" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsFairValue" xlink:label="loc_OPXSShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsFairValue_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsFairValue_30" xlink:type="arc" order="6"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaapDerivativeGainLossOnDerivativeNet_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDerivativeGainLossOnDerivativeNet_30" xlink:type="arc" order="7"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StockBasedCompensationDetailsNarrative" xlink:title="00000035 - Disclosure - Stock Based Compensation (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaapPlanNameAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapPlanNameAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaapPlanNameDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapPlanNameAxis" xlink:to="loc_us-gaapPlanNameDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaapPlanNameDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapPlanNameAxis" xlink:to="loc_us-gaapPlanNameDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_TwoThousandNineStockOptionPlanMember" xlink:label="loc_OPXSTwoThousandNineStockOptionPlanMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapPlanNameDomain" xlink:to="loc_OPXSTwoThousandNineStockOptionPlanMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_TwoThousandSixteenRestrictedStockUnitPlanMember" xlink:label="loc_OPXSTwoThousandSixteenRestrictedStockUnitPlanMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapPlanNameDomain" xlink:to="loc_OPXSTwoThousandSixteenRestrictedStockUnitPlanMember_40" xlink:type="arc" order="41"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srtTitleOfIndividualAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtTitleOfIndividualAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ChiefExecutiveOfficerMember" xlink:label="loc_srtChiefExecutiveOfficerMember_40"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_srtChiefExecutiveOfficerMember_40" xlink:type="arc" order="42"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ChiefFinancialOfficerMember" xlink:label="loc_srtChiefFinancialOfficerMember_50"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_srtChiefFinancialOfficerMember_50" xlink:type="arc" order="52"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_ThreeDirectorsAndOfficersMember" xlink:label="loc_OPXSThreeDirectorsAndOfficersMember_90"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSThreeDirectorsAndOfficersMember_90" xlink:type="arc" order="91"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OneDirectorAndTwoOfficersMember" xlink:label="loc_OPXSOneDirectorAndTwoOfficersMember_100"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSOneDirectorAndTwoOfficersMember_100" xlink:type="arc" order="101"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaapSubsequentEventTypeAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapSubsequentEventTypeAxis" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaapSubsequentEventTypeDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapSubsequentEventTypeAxis" xlink:to="loc_us-gaapSubsequentEventTypeDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaapSubsequentEventTypeDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapSubsequentEventTypeAxis" xlink:to="loc_us-gaapSubsequentEventTypeDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaapSubsequentEventMember_100"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSubsequentEventTypeDomain" xlink:to="loc_us-gaapSubsequentEventMember_100" xlink:type="arc" order="102"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_120" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_120" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_120" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate_120" xlink:type="arc" order="3"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction" xlink:label="loc_us-gaapSaleOfStockConsiderationReceivedOnTransaction_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSaleOfStockConsiderationReceivedOnTransaction_120" xlink:type="arc" order="4"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockPricePerShare" xlink:label="loc_us-gaapSaleOfStockPricePerShare_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSaleOfStockPricePerShare_120" xlink:type="arc" order="5"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_120" xlink:type="arc" order="6"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaapCommonStockSharesOutstanding_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapCommonStockSharesOutstanding_120" xlink:type="arc" order="7"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_120" xlink:type="arc" order="8"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_120" xlink:type="arc" order="9"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageNextTwelveMonths" xlink:label="loc_OPXSSharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageNextTwelveMonths_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSSharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageNextTwelveMonths_120" xlink:type="arc" order="10"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageThereAfter" xlink:label="loc_OPXSSharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageThereAfter_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSSharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageThereAfter_120" xlink:type="arc" order="11"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedIntrinsicValue" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedIntrinsicValue_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedIntrinsicValue_120" xlink:type="arc" order="12"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsAmortizedGrantDateFairValue" xlink:label="loc_OPXSSharebasedCompensationArrangementBySharebasedPaymentAwardOptionsAmortizedGrantDateFairValue_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_OPXSSharebasedCompensationArrangementBySharebasedPaymentAwardOptionsAmortizedGrantDateFairValue_120" xlink:type="arc" order="13"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDescription" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardDescription_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardDescription_120" xlink:type="arc" order="14"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesNewIssues_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesNewIssues_120" xlink:type="arc" order="15"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings" xlink:label="loc_us-gaapRestrictedStockValueSharesIssuedNetOfTaxWithholdings_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapRestrictedStockValueSharesIssuedNetOfTaxWithholdings_120" xlink:type="arc" order="16"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockSharesIssuedNetOfSharesForTaxWithholdings" xlink:label="loc_us-gaapRestrictedStockSharesIssuedNetOfSharesForTaxWithholdings_120"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapRestrictedStockSharesIssuedNetOfSharesForTaxWithholdings_120" xlink:type="arc" order="17"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StockBasedCompensation-ScheduleOfAggregateNon-vestedRestrictedStockUnitsGrantedDetails" xlink:title="00000036 - Disclosure - Stock Based Compensation - Schedule of Aggregate Non-vested Restricted Stock Units Granted (Details)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaapPlanNameAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapPlanNameAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaapPlanNameDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapPlanNameAxis" xlink:to="loc_us-gaapPlanNameDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaapPlanNameDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapPlanNameAxis" xlink:to="loc_us-gaapPlanNameDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_TwoThousandSixteenRestrictedStockUnitPlanMember" xlink:label="loc_OPXSTwoThousandSixteenRestrictedStockUnitPlanMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapPlanNameDomain" xlink:to="loc_OPXSTwoThousandSixteenRestrictedStockUnitPlanMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_30" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_30" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_30"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_30" xlink:type="arc" order="2"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StockBasedCompensation-ScheduleOfUnrecognizedCompensationCostsDetails" xlink:title="00000037 - Disclosure - Stock Based Compensation - Schedule of Unrecognized Compensation Costs (Details)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaapAwardTypeAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapAwardTypeAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAwardTypeAxis" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAwardTypeAxis" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaapRestrictedStockUnitsRSUMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaapRestrictedStockUnitsRSUMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaapAllocatedShareBasedCompensationExpense_90"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAllocatedShareBasedCompensationExpense_90" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaapEmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_90"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapEmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_90" xlink:type="arc" order="1"/> |
| | </link:definitionLink> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/StockholdersEquityDetailsNarrative" xlink:title="00000038 - Disclosure - Stockholders' Equity (Details Narrative)"/> |
| <link:definitionLink xlink:type="extended" xlink:role="http://optexsys.com/role/SubsequentEventsDetailsNarrative" xlink:title="00000039 - Disclosure - Subsequent Events (Details Narrative)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaapSubsequentEventTypeAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapSubsequentEventTypeAxis" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaapSubsequentEventTypeDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapSubsequentEventTypeAxis" xlink:to="loc_us-gaapSubsequentEventTypeDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaapSubsequentEventTypeDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapSubsequentEventTypeAxis" xlink:to="loc_us-gaapSubsequentEventTypeDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaapSubsequentEventMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSubsequentEventTypeDomain" xlink:to="loc_us-gaapSubsequentEventMember_0" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srtTitleOfIndividualAxis"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtTitleOfIndividualAxis" xlink:type="arc" order="2"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:type="arc" order="20"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtTitleOfIndividualAxis" xlink:to="loc_srtTitleOfIndividualWithRelationshipToEntityDomain_10" xlink:type="arc" order="30"/> |
| | <link:loc xlink:type="locator" xlink:href="opxs-20191229.xsd#OPXS_OneDirectorAndTwoOfficersMember" xlink:label="loc_OPXSOneDirectorAndTwoOfficersMember_0"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtTitleOfIndividualWithRelationshipToEntityDomain" xlink:to="loc_OPXSOneDirectorAndTwoOfficersMember_0" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesNewIssues_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesNewIssues_20" xlink:type="arc" order="0"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings" xlink:label="loc_us-gaapRestrictedStockValueSharesIssuedNetOfTaxWithholdings_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapRestrictedStockValueSharesIssuedNetOfTaxWithholdings_20" xlink:type="arc" order="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockSharesIssuedNetOfSharesForTaxWithholdings" xlink:label="loc_us-gaapRestrictedStockSharesIssuedNetOfSharesForTaxWithholdings_20"/> |
| | <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapRestrictedStockSharesIssuedNetOfSharesForTaxWithholdings_20" xlink:type="arc" order="2"/> |
| | </link:definitionLink> |
| </link:linkbase> |